Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2007, 05:28 PM
abmail abmail is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can't find in navbar template

I am very new to all of this, and don't know php. I just follow instructions to get things installed.

My question-
I'm using a template that I downloaded, and want to install the Casino Mod. In the changes to be made to the navbar template, it states to

Find-<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

In this template, it has Nothing similar to that. As a matter of fact, the word "calendar" is not even listed in the navbar template for this theme.

When I change to other themes, I can find it no problem. On this particular theme though, I can't see where the navbar is actually coming from. Although "calendar" is not in my navbar template, it does appear on my board when I have this template selected.

Can someone please tell me how I would be able to add something new to the menu when the standard "find" selection is not there?

I would appreciate ANY help!

Best Regards,
April
Reply With Quote
  #2  
Old 10-12-2007, 05:52 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using the default vBulletin template?
Reply With Quote
  #3  
Old 10-12-2007, 06:01 PM
abmail abmail is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I'm using a template that I downloaded. I downloaded several other templates, and am able to find the line of code that the mod states. But, in this particular template, I cannot even locate the word calendar in the navbar, yet it appears on my forum. Is there someplace else that it's pulling the navbar from or a different way?

Thanks!
April

--------------- Added at 19:02 ---------------

It's the "girltalk" template by vbskins.com, if that helps
Reply With Quote
  #4  
Old 10-12-2007, 06:09 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To be honest, I have no idea how it might be structured. However if you use the search in templates option and punch in "calendar.php" it will show you all templates that have a link to that page. Find the one that creates your navbar, copy the whole thing and replace calendar.php with casino.php, and "$vbphrase[calendar]" with "Casino"
Reply With Quote
  #5  
Old 10-12-2007, 06:51 PM
abmail abmail is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I did the search and found where ite was located. Was able to add the casino the navbar. Now, my only problem is, it made the button area behind the text "casino" lighter on the navbar. Would you happen to know what or where I would look to change that?

Thanks for your help! You've been very helpful
Reply With Quote
  #6  
Old 10-12-2007, 07:00 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the URL of your site?
Reply With Quote
  #7  
Old 10-12-2007, 07:09 PM
abmail abmail is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.411crafters.com/forum" target="_blank">http://www.411crafters.com/forum</a> You can see what I'm referring to.

Again, thanks! I really appreciate it.
Reply With Quote
  #8  
Old 10-12-2007, 07:21 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change this:

Code:
<td class="vbmenu_control">
to this:

Code:
<td>
for the link and it should come out matching the other ones.
Reply With Quote
  #9  
Old 10-12-2007, 07:31 PM
abmail abmail is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew, Thank you so much! I hate to post to ask for help, even though I don't know what I'm doing, I try to "read" the code to see what's the cause/effect...but frankly, I've not been very successful. lol

I really appreciate it and it worked perfectly!
Reply With Quote
  #10  
Old 10-12-2007, 07:34 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04494 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete