vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Register link for guests, User CP link (or button) for members. (https://vborg.vbsupport.ru/showthread.php?t=38416)

KuraFire 06-14-2002 10:41 PM

sorry, I just hate when people quote massive posts and then not respond to the actual post contents directly, thus making their own posts unnecessarily huge. It annoys me to no end, it's so inefficient and impractical!

I tend to be very efficient and practical in life, and with some things I definitely even succeed in that - it just gets on my nerves when other people just walz over it without giving it a moment's thought...

take no offense, I'm just muttering madly here :)

Boofo 06-14-2002 10:51 PM

We are of the same mind, it seems. I, too, like order and discipline in my life (although you would never know it as bad as my board looks right now :)). But, alas, I just found out I'm going to be a father again...twice! (Twins) :) That is why the board has taken a back seat the last few days. That is also why I am trying to get things in order so I can get it finished. Which brings me to what I was looking to do with the scroller.

Is there a way to set that code up for the banner to call a template that would have the javascript code in it for the scroller? Or can I even do it that way? What I would like to do is have it put the scroller up for guests but not for the regsitered users, only I will have to make a table for it for the guests and remove the table for the regular users. If any of that doesn't make sense, just pick out the parts that do and let me know what I said, will you? :) :) :)

KuraFire 06-14-2002 11:05 PM

Yeah, you can replace the whole 'banner' stuff with a bit of code to call a template like any other.

It's that I'm too busy (WAY too busy) right now, and it being 2 am, or else I'd have fixed you up right away. As it is, I'll _try_ to get it done tomorrow, but you wouldn't believe my To-do list....

*sighs*

I'm 19 and there's 3 companies interested in me, now, and there's an average of 4 people a day asking me for stuff to make/design them... :bigsigh:

Boofo 06-14-2002 11:44 PM

You get some sleep and if you have some time, that would be great. If not, then I'll figure something else out. I don't even remember what it was like to be 19. :) Back then, we didn't have electricity. We had to watch televison by the kerosene lantern. Have a good one!

KuraFire 06-15-2002 08:04 AM

Okay, where the whole banner bit is, place this:


PHP Code:

eval("\$variablename .= \"".gettemplate("templatename")."\";"); 

And rename it to match your javascript-containing template.

Then just put $variablename where you want the whole template to be placed, and you're done. :)

was easier than I thought, heh :)

FleaBag 06-19-2002 07:32 PM

My templated version working on 2.2.6. Thanks! :)

KuraFire 06-20-2002 08:44 PM

Cool, so this can be updated to a 2.2.6 hack, then? :)

Warcaptain 07-17-2002 08:09 AM

great hack :)

and i love the flexibility of it :-D

FleaBag 09-03-2002 03:56 PM

Working on 2.2.7. :D

PHiXTiT 09-08-2002 12:16 PM

:)


All times are GMT. The time now is 07:47 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.01100 seconds
  • Memory Usage 1,732KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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