I have problems with flag module for anonymous user.
Im working in my own project. Im trying to show flag to anonimous users whith flag module, flag_anon module and session api. I can see de flags like text no links and without icons and the system show me this error message: Notice: Undefined index: content_id en flag_anon_preprocess_flag() (línea 213 de /homepages/xx/xsites/all/modules/flag_anon/flag_anon.module).
And the line 213 in flag_anon.module is:
$content_id = $variables['content_id'];
Somebody has any idea about what or where is the problem.
Read moreUsing rules to disable flag access
Hi everyone. I'm a beginner on drupal and I'm building a site with booking management with rules and flag module. I met problems when implementing booking function,which disables flagging to user roles on specific node(content type) when exceeding limitation. Actually I have two plans, one is to hide the flag link, the other is to remove flag access on node with user roles, but I can't make either with actions provided by rules. Any suggestions? Of course not to implement the hook_flag_access() :(.
Read moreDrupal 5: Flag integration?
Hi all!!
I need to integrate the flag module to services module in Drupal 5.
Yes I know that Drupal5 is too all but I'm doing a concepto test of my project, then in the near future I have to migrate to Drupal7.
If there isn't such integration, where I can read some documentation for developing such a module for Drupal5??
Thanks!
Read moreFlag module optimization
I am utilizing the flag module on a site for multiple purposes; bookmarks, likes, favorites etc. Because flags are stored directly into the database I am a bit worried about running down the database. Is it possible to store flags in memcache or similar and then process them on cron?(as the VotingAPI allows). Any suggestions welcome.
Note: I am planing to run Varnish with ESI(loggedin users), memcache, nginx and CDN. Also I considering using Disqus module for comments (to help offload the database).
Read moreLimiting Flags
I am looking for a way to limit users on the amount of flagging per entity type.
More info:
I have a view that displays 50 node titles of the same content type and I want to create a component so users may flag (using VBO) a limit of 5 only? After that I may clone the component and change it from 5 to 1 or 10 or 20 this way I may apply these components to more views assigning them inside a VBO field?
Read moreHow to Flag a created entity via Rules
Hi, Looking for help using Flag and Rules.
Once an even fires, I'd like a node to be created and for the created node to be flagged.
Currently:
The rule properly creates the node.
The flag can be manually toggled on the new node.
The rule does not flag the new node.
Initially I thought the data selector should be entity-created. I then attempted to fetch the entity [entity-created:type] and flag [entity-fetched:0]. Again, no love.
Any assistance on how to flag a created entity would be appreciated.
Read moreUse the vote icons
Did you ever notice the vote up and down icons in the top right corner of a post here on g.d.o? Use them liberally to indicate what matters to you, what comments you like, and of course also which items you don't appreciate. In addition to written comments, your vote feedback helps us gauge interest and plan the right mix of content at meetups and camps. And with enough votes discussions might end up on the g.d.o frontpage.
Read morePHP Fatal error - Flag module
Hey
Just did a clean install and enabled the flag (V2) module it all worked great with no errors.
Than I had to restart apache and starting getting Error 500 pages on user account paged and flag administration page.
When I reviewed my error log file it said:
PHP Fatal error: Class 'flag_flag' not found in /srv/www/site.com/public_html/sites/all/modules/flag/flag.module on line 1424
When facebook-style statuses is enabled I also get:
Read moreHow to use Flag to trigger opening a custom CCK form for editing?
This seems like a very common task yet I can't seem to do it.
I want to have flag button on a page that an anonymous visitor can click to open a custom CCK form to enter email, and a short note, to be sent to an email address and have the form saved in the DB as a node so I can look at it later with Views. I also want the NID of the page that was flagged to be passed to the form. (I am using the dev version of Flag that allows anonymous flagging)
Webform can do this I believe but does not save items as nodes, so it's limited to what the module gives you.
Read moreFlag Module - Sending Flagged Nodes
Hi, I was informed of the Rules module by a member on the Drupal forums - and was extremely pleased with such a powerful module - and after digging into Rules a bit more, have come to a bit of a snag.
I saw the integration with the Flag Module http://drupal.org/project/flag - which is great http://drupal.org/node/407070
Read more


