vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Information Bar for Guests (https://vborg.vbsupport.ru/showthread.php?t=97150)

rb290 10-24-2005 02:05 AM

"UPLOAD to vB folder"

sorry i dont know where that is ^

Slapyo 10-24-2005 11:40 PM

Quote:

Originally Posted by rb290
"UPLOAD to vB folder"

sorry i dont know where that is ^

The folder where you installed vB.

lanc3lot 10-30-2005 12:51 PM

Hello, its a great hack this, thnx for sharing:)
One question though, could be added a feature, where it could show the same bar, to the users that havent did yet their first post?
I mean, as a 2nd ability to this hack.

Hope it can be done, thnx again:)

Slapyo 10-30-2005 06:23 PM

I'm sure it could ... just look for a hack that shows something for people who haven't posted and use that conditional.

lanc3lot 11-01-2005 09:10 PM

Hm i wondering if u can explain what u mean with that or even add that to the hack as a feature, as my coding abilities are limited:)

Anyway, thnx again:)

Slapyo 11-03-2005 01:04 AM

Works in 3.5.1 no problem, just need to make the changes after your revert your templates.

Slapyo 11-03-2005 11:03 PM

Quote:

Originally Posted by lanc3lot
Hello, its a great hack this, thnx for sharing:)
One question though, could be added a feature, where it could show the same bar, to the users that havent did yet their first post?
I mean, as a 2nd ability to this hack.

Hope it can be done, thnx again:)

You can put this conditional in as well.
Code:

condition="$bbuserinfo[posts]<1"
That will make it show for people who have not posted.

lanc3lot 11-04-2005 02:24 AM

Quote:

Originally Posted by Slapyo
You can put this conditional in as well.
Code:

condition="$bbuserinfo[posts]<1"
That will make it show for people who have not posted.


And we put that where? I mean, we repeat the if code at headinclude again, with this conditional or in the head instead? (or both!)

Thnx again for this help :)

Slapyo 11-04-2005 03:44 AM

Code:

<if condition="(($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')) OR ($bbuserinfo['posts']<1)">
That is untested, so I don't know if that will work or not. But I think it should.

lanc3lot 11-05-2005 07:29 AM

Thnx its working:)

Great hack mate:D


All times are GMT. The time now is 06:00 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.01538 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)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
  • (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