vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Toplist (https://vborg.vbsupport.ru/showthread.php?t=98646)

derekivey 11-21-2005 01:22 AM

I think you have to edit the module settings in the AdminCP and select Center Column instead of right.

divided_by_fear 11-21-2005 01:24 AM

can u post me what ur using in the template cause the block is working great its just the template part

derekivey 11-21-2005 01:25 AM

I made the template called toplist_random_site_module and it has this in it:
PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr align="center">
                <
td class="tcat" colspan="5">{$vbphrase['toplist_random_site']}</td>
</
tr>
<
tr align="center">
    <
td class="thead" width="20">$vbphrase[toplist_rank]</td>
                <
td class="thead">$vbphrase[toplist_site_name_and_description]</td>
                <
td class="thead" width="88">$vbphrase[toplist_button]</td>
    <
td class="thead" width="50">$vbphrase[toplist_in]</td>
    <
td class="thead" width="50">$vbphrase[toplist_out]</td>
</
tr>
<if 
condition="$num_rows >= 1">
<
tr align="center">
<
td class="alt2">$rand_rank</td>
<
td class="alt1"><a href="$vboptions[bburl]/out.php?id=$randsite[id]target="_BLANK">$randsite[name]</a><br />$randsite[description]<br /></td>
<
td class="alt2" width="88">$image</td>
<
td class="alt1" width="50">$randsite[in]</td>
<
td class="alt2" width="50">$randsite[out]</td>
</
tr>
<else />
<
tr align="center">
<
td class="alt1" colspan="5">$vbphrase[toplist_none]</td>
</
tr>
</if>

<
tr align="center">
                <
td class="thead" colspan="5"><div class="smallfont">
&
nbsp;
</
div>
</
td>
</
tr>
</
table


divided_by_fear 11-21-2005 01:30 AM

ok yeah cause i had to use my moms to import it lol i opened another module up before in wordpad now i cant figure out how to change it back so i can import from this pc lol

divided_by_fear 11-21-2005 01:31 AM

still the same thing goes big not as wide though

derekivey 11-21-2005 01:32 AM

Hmm, the one I uploaded should work, but for some reason you have it set to be in the right column. Try editing it in the AdminCP and change the Column setting to Center Column.

Hmm, want to make my username an admin real quick so I can take a look? (username is derekivey).

divided_by_fear 11-21-2005 01:33 AM

hmm im wondeing if you could do it like the random arcade kinda might give you a better thing to go by also you proably could take out the in and out hits and the rank

derekivey 11-21-2005 01:34 AM

Looks like you got it now...

divided_by_fear 11-21-2005 01:35 AM

ok made it the center works great how could i add it so its just like a vbulletin block how you can make it smaller like they use the java or something

derekivey 11-21-2005 01:36 AM

Yeah, I forgot about that, let me look and see how you do that.


All times are GMT. The time now is 04:15 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.01959 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)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