![]() |
Quote:
Quote:
|
i don't know, gossamer threads does this sort of thing for their links based templates and it works very very well. It saves having to have 10 million options for everything like how many links to display here, there and everywhere else because you can set it as part of the template, and in that case it is a display thing because displaying 10 links as opposed to 20 is a display issue. I am not sure the idea transfers over so well to vb but it is still interesting idea anyway.
|
a combi of a php variable & javascript can do something nice too ...
|
This is EXACTLY what I need.
However, I am concerned about the speed issues, and the necessity of reapplying the mod for every new release. This having been said, I have an expanded "fivelinks" nav bar at the top of my forum: http://forum.bearsharelabs.com or http://208.239.76.100 I want to have the "Logout" icon change to "Login" depending on the state of the user. It would also be nice to have a "Post" icon appear in the list at the appropriate time. And, it would be cool to NOT show the "User control panel" icon when they are actually already viewing the control panel. While we're at it, it would be good not to show the Admin icon unless they actually had administrator privileges. The possibilities are endless. |
Quote:
|
Quote:
Oversimplified I know, but is it feasible? This is definately something I'd like though. Even if it only handled a simple if then construct it would be great. |
Quote:
|
Quote:
|
bbcodeparse2() is completely unrelated to replacement variables... it's the general post parsing routine. You can't do str_replace()'ment on anything there...
The one in dovars() is most likely for the pm popup and only processed when there's a PM popup. Replacement variables are done with str_replace() which is faster than preg_replace which is faster than ereg_replace()... |
Any plans to port this over to vB 3.5.x? ;)
Actually, I just ran across this and thought it was interesting to see when/how template conditionals got their start. |
All times are GMT. The time now is 07:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|