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)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

chrisvonc 05-20-2004 12:17 AM

On main page of vBAdvanced.com in the Program/Scripts section. :)

350Chevy 05-23-2004 12:55 AM

Once again you did an excellent job Tigga.. I've installed this. It's missing a Top 10 Posters hack though (like your MyVBIndex used to have..)

I was toying with this but I just can't get it to work.. So far this is what I have..

in adv_index.php I replaced the custom2 section with:

Code:

if ($vboptions['showcustom2'])
{
        $getstats_posters = $DB_site->query("SELECT username, userid, posts FROM ".TABLE_PREFIX."user ORDER BY posts DESC LIMIT 10");
        while ($getstats_poster = $DB_site->fetch_array($getstats_posters))
                {
                eval('$getstats_posters .= "' . fetch_template('index_topposters') . '";');
                }
        $getbgrow = getrowcolor();
        eval('$custom2 .= "' . fetch_template('index_custom2') . '";');
}

index_custom2 template was replaced with:

Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat" width="100%"><span class="smallfont"><b>$vboptions[blockbullet]Top 10 Posters</b></span></td></tr>
<tr>
<td width="100%">
$getstats_posters
</td>
</tr>
</span>
</td>
</tr>
</table>
<br />

I added a new template called index_topposters:

Code:

<b><a href="forums/member.php?u=$getstats_poster[userid]">$getstats_poster[username]</a></b>
<b>($getstats_poster[posts])</b>

the outcome shows the following attached image...

Sooo close.. yet so far.. Only the top poster and this wierd "Resource id #15" in front of the user's name (user ID of the top poster is #16 if that's anything..)

Any help to get this working would be greatly appreciative.. :)

Zachery 05-23-2004 02:13 AM

Just fyi, the new version of vBadvanced has been released ;) you should checkout vbadvanced.com ;)

350Chevy 05-23-2004 04:55 AM

Sure.. tell me now after I've installed it the other day from here.. :lol: j/k :D

350Chevy 05-23-2004 05:00 AM

Quote:

Originally Posted by Zachery
Just fyi, the new version of vBadvanced has been released ;) you should checkout vbadvanced.com ;)

All I see is vb 1.1 which is the same version on here, which is the same version that I installed, and which is the same version that does not have the top posters on it as MyVBIndex did.. Thnx though.. :rolleyes:

Zachery 05-23-2004 06:13 AM

vBadvanced CMPS is the new version, its a whole new system :)

350Chevy 05-23-2004 06:33 AM

Found it.. tried upgrading.. no upgrade instructions and it messed up the board.. would much rather keep what I have and what works and fix this tiny problem with the top posters.. Thnx though.. :)

350Chevy 05-23-2004 02:59 PM

I got my top poster add-on for vbadvanced 1.1 working.. thnx for the help...

Dark s.s. Trunk 05-24-2004 06:05 AM

OK for the news area on the vbadvanced is it posible to make just the news area or other select areas be included in a webpage as well. I am still new so I am not sure how to do some things yet.... sorry if its a stupid question.

350Chevy 05-24-2004 08:17 AM

I'm not sure I understand the question. Are you asking if it's possible to have nothing but the news as the home page? If so, I don't think it's possible without editing the index php file yourself..

Goto www.vbadvanced.com they seem to have a much newer version available along with mods and add-ons. I wish I'd known this before I installed this but it looks like the writer was too lazy to post it here even though 1.1 is about 5 months older than the newest version. it was my bad that I came here for all my hacking needs first I guess....


All times are GMT. The time now is 06:55 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.02023 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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