Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Any interest?
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #23
RE: Any interest?
(01-08-2011 04:59 AM)leefish Wrote:  Yes, because as I said, its to be used in the XThreads templates.

(01-07-2011 10:07 AM)leefish Wrote:  I didn't see the point of putting it direct into templates as its for XThreads and therefore would be a custom template. So its up to the admin to put the variable where they want it in the template.

So (I think) if I put it in the plugin to put it in the forumdisplay_threadlist then it will add to the forumdisplay_threadlist template in all the template sets except the global templates. Well, it wont work if its NOT an XThread template - so there will just be a daft box called forumstickies. I think it wont add to the global templates unless I specify it by name - and thats also a bit pointless as it means that I would have to add it to all global templates knowing the prefixes......so its easier to just add it manually (IMO)

So, any reason why you put this in your plugin?

PHP Code:
find_replace_templatesets('header', '#^(.*)$#s', "\\1\r\n" . '<!-- Forum Stickies list -->');


PHP Code:
find_replace_templatesets('header', '#<!-- Forum Stickies list -->#', '', 0);


01-08-2011 05:32 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Any interest? - leefish - 01-06-2011, 06:17 AM
RE: Any interest? - Vapor - 01-06-2011, 07:12 AM
RE: Any interest? - leefish - 01-06-2011, 07:17 AM
RE: Any interest? - Vapor - 01-06-2011, 08:13 AM
RE: Any interest? - leefish - 01-06-2011, 08:14 AM
RE: Any interest? - RocketFoot - 01-06-2011, 08:44 AM
RE: Any interest? - leefish - 01-06-2011, 08:49 AM
RE: Any interest? - 1master1 - 01-06-2011, 10:15 AM
RE: Any interest? - leefish - 01-06-2011, 10:20 AM
RE: Any interest? - 1master1 - 01-06-2011, 02:15 PM
RE: Any interest? - leefish - 01-06-2011, 02:38 PM
RE: Any interest? - Vapor - 01-06-2011, 04:02 PM
RE: Any interest? - leefish - 01-06-2011, 04:59 PM
RE: Any interest? - Vapor - 01-06-2011, 05:15 PM
RE: Any interest? - RateU - 01-07-2011, 06:32 AM
RE: Any interest? - leefish - 01-07-2011, 06:38 AM
RE: Any interest? - RateU - 01-07-2011, 08:20 AM
RE: Any interest? - leefish - 01-07-2011, 08:36 AM
RE: Any interest? - RateU - 01-07-2011, 08:46 AM
RE: Any interest? - leefish - 01-07-2011, 10:07 AM
RE: Any interest? - RateU - 01-08-2011, 03:53 AM
RE: Any interest? - leefish - 01-08-2011, 04:59 AM
RE: Any interest? - RateU - 01-08-2011 05:32 AM
RE: Any interest? - leefish - 01-08-2011, 05:39 AM
RE: Any interest? - RateU - 01-08-2011, 05:50 AM
RE: Any interest? - leefish - 01-08-2011, 06:51 AM
RE: Any interest? - RateU - 01-08-2011, 07:09 AM
RE: Any interest? - leefish - 01-08-2011, 07:14 AM

 Standard Tools
Forum Jump: