vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Forumhome Stats Cache Serialize hack v2.2 (https://vborg.vbsupport.ru/showthread.php?t=61420)

Boofo 03-05-2004 02:38 AM

You ought to release your version of the welcome panel. Sounds interesting. PM me with the code, if you don't mind. I'd like to take a look at it. ;)

Steve123 03-05-2004 02:49 AM

Im in the process of making it atm, its just taking me a while because i want to make it with hardly any queries... Plus im doing it in my spare time at work(which is not much)..

Ill show you the code when im done, its based on Welcome Panel 1.2 Hack by Hwulex (Credit to him)

Altho ive changed just about everything he done, got the idea from him.

Mostly you add this to index.php

PHP Code:

$indexpage true

Then edit navbar with

HTML Code:

<if condition="$indexpage">
Welcome Panel here
</if>
<if condition="!$indexpage">
Normal Navbar stuff here
</if>

When its a bit more finished and ive understand more of vb3's code u can have a look :)

Boofo 03-05-2004 04:45 AM

I'll be looking forward to it. ;)

djohn 03-05-2004 07:48 AM

Boofo, thanks! I think i've done what i wanted, the lines are not there, and i've deleted the query lines as well. I just have one question left. DO the lines saying the number of new posts/threads since my last visit automatically get hidden it there weren't any new posts/threads? First time I've loaded the page the lines simply were not there!

Boofo 03-05-2004 08:15 AM

Yes, they won't show up unless there are new posts or new threads since your last visit. ;)

Don't forget the install button. I am going to be doing an update to this shortly and you will want to be notified when that happens.

hXc Radio 03-05-2004 12:06 PM

this installed very nicely on RC4! Everything shows, but one part of instructions I could not figure out was

Turn on DEBUG and go to the Admin CP > vBulletin Options
Add New Setting:

How do I turn on debug and under vb options there is no add link only the current settings to edit. Also once you explain how, do I turn debug back off after I add the new settings?

Boofo 03-05-2004 12:48 PM

Add


PHP Code:

$debug '1'

to the end of /includes/config.php (But before the ?>)

Just make sure you take it out after you have added the setting for the hack. ;)

Boofo 03-08-2004 06:26 AM

Quote:

Originally Posted by Moosehunter
Thanks for the quick reply. That never worked. So i took that whole referrer thing out and it is now working. I do not use the referer system anyways. Once again boofo thanks for the quick reply.

I think I know why the referrer query never worked for you. If you don't have referrers enabled, then there is nothing to find with the query. I need to make a note of that in the install file. Thank you for bringing this to my attention. ;)

hXc Radio 03-09-2004 01:13 AM

Thought you might like to see how I worked this into the nav.. Love the hack! good job!! ;)

Boofo 03-09-2004 01:21 AM

Looks excellent! Can I get the navbar code for that? Also, where did you put the navbar links at?

Did you use the init.php for the specialtemplates? I did that but every once in a while the stats show up empty when I go to a page. Has that happened to you yet?


All times are GMT. The time now is 08:04 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.01510 seconds
  • Memory Usage 1,741KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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