vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Advanced Forum Rules (https://vborg.vbsupport.ru/showthread.php?t=122998)

Fawlty Adder 01-22-2007 01:26 AM

anybody help please?

Fawlty Adder 01-23-2007 08:54 AM

anybody out there that can help me out please? :up:

Martin-TMGRS 01-23-2007 09:06 AM

Quote:

Originally Posted by Fawlty Adder (Post 1164025)
anyone know how to edit the link for 'forum rules' on the navbar?

also does the navbar link show up for guest? Because for me it doesnt... how do we make it viewable to guests?

thanks

Goto your "Forum Options" and look for "Cyb - Advanced Forum Rules" in the list click it thats where you change the link name and no it don't show up for guests

Fawlty Adder 01-23-2007 09:28 AM

currenty the link shows as

<font color="#000000">Forum Rules</font>

(i.e. this is merely the text shown on the Navbar ... where do I find the actual link that this text links to?)

Martin-TMGRS 01-23-2007 10:11 AM

Quote:

Originally Posted by Fawlty Adder (Post 1165656)
currenty the link shows as

<font color="#000000">Forum Rules</font>

(i.e. this is merely the text shown on the Navbar ... where do I find the actual link that this text links to?)

Go to "Search in Templates" and in the search type "cyb_frules_link" in there is where the link can be found

Fawlty Adder 01-23-2007 10:37 AM

thanks mate.. looks like I'm finally getting somewhere ... :) ...ok I found the above phrase in the template ... this is whats behind it:

<td class="vbmenu_control"><a href="$vboptions[bburl]/misc.php?do=cfrules">$vboptions[cybfrules_link_edit]</a></td>

I've changed this to

<td class="vbmenu_control"><a href="misc.php?do=cfrules">$vboptions[cybfrules_link_edit]</a></td>

and now it works! TA :)

Fawlty Adder 01-23-2007 10:39 AM

any idea as to how I'd make it viewable to guests? i.e. since I want them to see the rules before they sign up!

cheers

marcsmith73 01-23-2007 07:09 PM

Nice hack ...thanks!! Installed!

notorious 01-23-2007 10:29 PM

Quote:

Originally Posted by Fawlty Adder (Post 1165682)
any idea as to how I'd make it viewable to guests? i.e. since I want them to see the rules before they sign up!

cheers

i added the rules link in my navbar so that guests can see the rules

Code:

find <if condition="$show['member']">

and add above $cyb_frules_link


Fawlty Adder 01-24-2007 06:41 AM

Hi

thanks for the suggestion.. :) .. funny thing is that my navbar template does not actually contain the '$cyb_frules_link' statement ... if I add that statement, I get TWO links in my navbar ...!

EDIT:

Aha!...but I finally found how to do it ..maybe its to do with the version of vbulletin I am using (3.64) .. all I did was delete the above 'if condition' surrounding '......vbphrase[user_cp]</a></td>"


cheers!


All times are GMT. The time now is 03:20 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.01521 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete