vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   how to create a var for use (https://vborg.vbsupport.ru/showthread.php?t=64996)

Osterling 05-11-2004 03:13 PM

how to create a var for use
 
Alright...

I want to create my own navagtion on vbpages, and I have a couple different nagavtions I want to use on different sections.. so I thought I could create a variable so when I wanted the navagtion to show up, I can put $var... but I am not sure how to go about making a variable with vbulletin...

any help would be great!

Osterling 05-11-2004 09:01 PM

Alright.. I have non-vb pages.. for example: http://www.exasko.info/opening%20poem.php

now i have pages like that, that i want a certian links to show up and on others not too.. so i thought if i could create a var with the links in the var.. that would work.. the only thing is, i dont know hwo to create a var with vbulletin and how to define that var

Osterling 05-12-2004 05:18 PM

please somebody.. help!

assassingod 05-12-2004 05:25 PM

I'm not to sure what you're asking. Could you explain it for me please?:)

Osterling 05-12-2004 05:59 PM

Well... I have a few sections on my site that use different set of links, and instead of having to change them one by one, I thought maybe using a varible might be the answer. I am currently using a hack I got off this site to make vbpages.. in example: http://www.exasko.info/opening%20poem.php


And I have yet to move all my old pages over into vbulletin set up, but I want a quicker way to update all the links instead of editing the page one by one..

So I thought if I could create a variable, and define it with the links that all I would have to do is place the $var where I wanted teh links to show up and when I wanted to change the links, all I would have to do is change the variable...

does that make sense?

Osterling 05-12-2004 06:07 PM

Also.. for every set of links there would be a new variable


All times are GMT. The time now is 04:41 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
  • Page Generation 0.01010 seconds
  • Memory Usage 1,718KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete