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)
-   -   Welcome Panel Template Rewrite v2.1 (https://vborg.vbsupport.ru/showthread.php?t=100672)

Wifey 03-09-2007 05:48 PM

This has never worked properly on my board and I do not know why. It never shows how many posts and threads since the last visit, says I own 0.00% of the boards posts (when I'm close to a top poster, for obvious reasons). I'm not sure what i've done wrong -- I installed everything as told.

I like this hack a lot, I just want to make sure I say that!

edit: You said to revert templates -- what templates?

King Kovifor 03-09-2007 08:42 PM

Revert ZT's forumhome_welcomepanel template to get rid of his template...

There might be some bad reading in your plugin - but I didn't mess with that so I'm not sure why it would be wrong... If you want it working I could spend a few minutes this week-end looking at your site and plugins...

Wifey 03-11-2007 03:48 AM

Aha! I deleted the old plugin's and reuploaded them and FINALLY it works, wahoo! Thank you!

King Kovifor 03-11-2007 03:25 PM

Quote:

Originally Posted by ashkarita (Post 1200607)
Aha! I deleted the old plugin's and reuploaded them and FINALLY it works, wahoo! Thank you!

Glad you found a solution... Sorry I wasn't able to help...

orth 03-11-2007 08:34 PM

Hi King,

Wanted to thank you for your mod and point out a little error that popped up. After an import from another db, one of our users with an apostrophe in her name caught this unquoted part in the forumhome_start hook.

Code:

$wpsql3 = $db->query("SELECT * FROM `" . TABLE_PREFIX . "thread` WHERE `postusername`='" . $vbulletin->userinfo['username'] . "'");
$wp_user_thread_count = $db->num_rows($wpsql3);

I'm fairly new to vBulletin but for sanity:

Code:

$wpsql3 = $db->query("SELECT * FROM `" . TABLE_PREFIX . "thread` WHERE `postusername`='" . $db->escape_string($vbulletin->userinfo['username']) . "'");
$wp_user_thread_count = $db->num_rows($wpsql3);

Thanks again, take care
orth

King Kovifor 03-15-2007 08:10 PM

orth, thanks for that. I'll add it and do a quick 3.0.2 release soon... But so you know, this is the vB 3.5.7 thread. There is a separate thread for that release.

orth 03-15-2007 10:10 PM

Quote:

Originally Posted by King Kovifor (Post 1204370)
orth, thanks for that. I'll add it and do a quick 3.0.2 release soon... But so you know, this is the vB 3.5.7 thread. There is a separate thread for that release.

Doh, oops, guess I wasn't paying that much attention, problem was I had this marked as Installed instead of 3.6 version. Oops, and you're welcome!

King Kovifor 03-15-2007 10:41 PM

I fixed the problem, but caused my own bug... So 3.0.3 was released about 10 minutes after 3.0.2! LOL.... 3.0.4 is already in development.

amkge 04-14-2007 12:45 PM

this is mod is a pita to get to work.

King Kovifor 04-15-2007 02:49 PM

Quote:

Originally Posted by amkge (Post 1227430)
this is mod is a pita to get to work.

What do you mean? I believe it's a very simple modification? I would be willing to assist in anyway possible.


All times are GMT. The time now is 08:03 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.01335 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)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)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