![]() |
|
Article Options |
#61
|
||||
|
||||
I misunderstood what you meant then. My bad.
I had an options setting for the days in the mod. No members have liked this post.
|
#62
|
|||
|
|||
Originally Posted by Boofo
Ah, it's a member option then. Not one set in the ACP.![]()
That's a different animal then. ![]() No members have liked this post.
|
#63
|
||||||||
|
||||||||
Not really, you just change
To pick up the settings from where-ever they are stored. BTW, I would use ;
There isnt any reason to enclose $tabforumid in quotes, but children should be.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. The following members like this post: AusPhotography, Boofo
|
#64
|
|||
|
|||
I understand the array can be from anywhere. But, I'm trying to avoid the use of a plugin in most cases. Creating the links in the DB eliminates the plugin and allows vB to handle the menu system.
But I can see where using a plugin to create the menu would be needed at times. Heck, I'm the one that first questioned the dynamic creation of menus in this thread. ![]() No members have liked this post.
|
#65
|
||||
|
||||
Originally Posted by nhawk
No, it was an admin cp option.![]()
--------------- Added 24 May 2012 at 20:45 --------------- I'm getting W3C Validation errors like crazy now:
--------------- Added 24 May 2012 at 22:51 --------------- How do you get this to display in more than the forum tab when doing it via a plugun? --------------- Added 24 May 2012 at 23:01 --------------- I tried it with $roots, but it seems that isn't the right way. No members have liked this post.
Last edited by Boofo; 24 May 2012 at 20:44. |
#66
|
||||
|
||||
If you need to modify the Tab name on the fly...
Eg: Our photo competition system shows the number of competitions open for you to enter. @hook: parse_templates (just convenient for me)
Easy! --------------- Added 26 May 2012 at 01:23 --------------- OP updated with correct hook name set_navigation_tab_fallaback --------------- Added 26 May 2012 at 01:28 --------------- Using $root example here... http://www.vbulletin.org/forum/showp...&postcount=409 --------------- Added 26 May 2012 at 01:48 --------------- Also: More doco needed ... https://www.vbulletin.com/forum/show...96#post2297796
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account *** Home of the AP fully comprehensive vb4 photographic competition management solution *** No members have liked this post.
|
#67
|
|||
|
|||
No members have liked this post.
|
#68
|
||||
|
||||
No one is going to just write code for you (well, unless maybe you pay them).
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. The following members like this post: borbole, Christos Teriakis
|
#69
|
||||
|
||||
Originally Posted by snoopytas
Why nor just edit the phrase?![]()
--------------- Added 26 May 2012 at 15:13 ---------------
Originally Posted by Paul M
Exsactly! As a lot of us are still leaning the new system, too. ![]()
![]() No members have liked this post.
|
#70
|
||||
|
||||
Because it's dynamic!
We have a Competitions tab which shows Competitions (C,V) where C = competitions open to enter and V = competitions open for voting. C and V set set per user based on their competition system status.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account *** Home of the AP fully comprehensive vb4 photographic competition management solution *** No members have liked this post.
|
#71
|
||||
|
||||
Okay!
No members have liked this post.
|
#72
|
||||
|
||||
Originally Posted by Paul M
If you don't mind, can you help me on how to convert a condition like:![]()
to work as $show. I know that there are variables/condiltions like: $show['member'], but I was always using the above style. Thank you Chris No members have liked this post.
|
#73
|
||||
|
||||
Maybe something like this?
No members have liked this post.
|
#74
|
||||
|
||||
Originally Posted by Boofo
Thank you. I'll try it. I suppose that I can add multiple conditions and end them like $show['classifieds_post'] = true, or $show['classifieds_moderate'] = true etc.![]()
Thanks again Chris No members have liked this post.
|
#75
|
||||
|
||||
Sure you can. As another example, here is one I use in the load_show_variables hook:
If APM is installed it will use that link. If not, it default to the vb product manager. I also use the show variables in the navigation_tab_complete, but you have to globalize it in that hook, as well as $vbphrase if you use that there, too. No members have liked this post.
|
![]() |
![]() |
||||
Article | Author | Type | Replies | Last Post |
Administrative and Maintenance Tools Navigation Manager Enhancements | Andreas | vBulletin 4.x Add-ons | 337 | 03 Jan 2018 16:58 |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:57.