Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » "Hey You! Register to start posting" plugin
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
"Hey You! Register to start posting" plugin [message #164587] Fri, 18 February 2011 08:06 Go to next message
Bradley is currently offline  Bradley
Messages: 41
Registered: February 2011
Karma: 0
add to buddy list
ignore all messages by this user
Other than hacking a message into the template, is there a plugin that will allow me to define a message before the content table for unregistered users? I think this will really help registration figures.

Also, I had problems getting 3.02 to work on my server, so if I develop in 3.0.1, will that still work going forwards in the 3.x versions?

Answered my own question from a link in the competition thread: http://cvs.prohost.org/index.php/Plugin

Ok, but as I understand, there's no way to actually hook into inserting a message there without a str_replace and inserting a token into the relevant template manually? unless.. I somehow assertain the current template name, detect if an override of the template file exists in the tmpl directory, create if not, and then add the token to the relevant template in the plugin_enable function right?

or is there a simpler way? and any documentation on how to add fields to the plugin configure part so the message could be defined?

[Updated on: Fri, 18 February 2011 08:20]

Report message to a moderator

Message by Ernesto is ignored  [reveal message]  [reveal all messages by Ernesto]  [stop ignoring this user] Go to previous message
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Fudforum on Foswiki appliance
Next Topic: Anonymize Fudforum
Goto Forum:

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Jul 05 09:50:03 EDT 2022

Total time taken to generate the page: 0.00645 seconds