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 Random Site vBadvanced Module (https://vborg.vbsupport.ru/showthread.php?t=101302)

Guest210212002 02-07-2006 10:56 PM

Installed and working, but the button shows up as "none" for me.

http://www.sevenstring.org

derekivey 02-07-2006 11:20 PM

Yeah sorry about that. I forgot to update this addon after I released the latest version of the Toplist hack. I will release an update in a few minutes to fix it.

Derek

derekivey 02-08-2006 12:26 AM

Ok, version 1.0.3 has been released, let me know if you have any problems with it.

Derek

quanvo81 02-21-2006 12:21 PM

ok it still happen with the button. If a member add a site without an image, it will show up a red cross X in both forum and Vbadvanced CPMS

DementedMindz 04-01-2006 06:29 AM

ok i have another idea.. ok some people cant see the link to the top sites... i was thinking maybe on the bottom adding this.....

Click Here To Add Your Site To Our Toplist


On the bottom of the block... and have it where it takes them to the add page :)

derekivey 04-02-2006 03:06 AM

Ok, I like that. I'll see about adding it when I get time.

Derek

DementedMindz 04-02-2006 03:10 AM

kinda like it is on the toplist.php page at the bottom (Add Site) or what ever they want in there :) just giving ideas... makes it easier for users to link up

anahowa 05-28-2006 08:50 PM

is it possible to modifide this module to top 5 vBadvanced block

derekivey 05-29-2006 01:00 AM

Sorry, I don't understand what you mean. You mean show 5 sites instead of just 1?

jaks 06-13-2006 05:55 AM

Not sure if anyone would be interested in this but I modified the module template so I could display it as a side block.

You would have to change the add a unusual website link at the bottom to whatever you want. I attached a screenshot aswell. You also have to change the module colspan to 3 instead of 6. You can play with the height by removing the in/out stuff if it's too tall for your site.

I also added a missing / at the end of the image tag to make it w3c compliant.

Code:

<tr><td class="thead" colspan="3">$vbphrase[toplist_site_name_and_description]</tr><tr><td class="alt1" colspan="3"><a href="$vboptions[bburl]/out.php?id=$randsite[id]" target="_BLANK">$randsite[name]</a><br />$randsite[description]<br /><center>$image</center></td></tr>
<tr align="center">
        <td class="thead" width="20">$vbphrase[toplist_rank]</td>
        <td class="thead" width="30">$vbphrase[toplist_in]</td>
        <td class="thead" width="30">$vbphrase[toplist_out]</td>
      </tr><tr align="center"> <td class="alt2">$rand_rank</td>

<td class="alt1" width="30">$randsite[in]</td>
<td class="alt2" width="30">$randsite[out]</td></tr><tr align="center"><td class="thead" width="100%" colspan="3">$vbphrase[toplist_rating]</td>
</tr>
<if condition="$num_rows >= 1">
<tr align="center">
<td class="alt1" width="100%" colspan="3">
<if condition="$randsite[rating_average] == 0">
$vbphrase[toplist_not_rated]
<else />
<img src="$vboptions[bburl]/images/rating/toplist_rating_$rand_rating.gif"/>
<br />
$randsite[votes]
<if condition="$randsite[votes] == 1">
$vbphrase[toplist_vote]
<else />
$vbphrase[toplist_votes]
</if>
</if>
<if condition="!$show[guest]">
<br />
<a href="#" onClick="javascript:window.open('$vboptions[bburl]/toplist.php?do=rate&id=$randsite[id]','rate_site','menubar=0,resizable=1,width=$vboptions[toplist_popup_width],height=$vboptions[toplist_popup_height]');return false;">$vbphrase[toplist_rate_site]</a>
</if>
</td>
</tr>
<else />
<tr>
<td class="alt1">$vbphrase[toplist_none]</td>
</tr>
</if>

<tr align="center">
                <td class="thead" colspan="3"><div class="smallfont"><a title="add an unusual website" href="http://www.trulyunusual.com/wards/toplist.php">Add an Unusual website</a>
 
</div>
</td>
</tr>


derekivey 06-13-2006 02:49 PM

Thanks for sharing! :). I'm sure tons of people will appeciate this, especially if they have many center blocks.

Derek

jaks 06-13-2006 06:13 PM

No probs. great hack :D

DementedMindz 06-13-2006 06:36 PM

nice work jaks just need to clean the code up a bit so its html complaint.... hope derek makes the one i was talkin to him in pm about...

jaks 06-15-2006 05:46 PM

Thanks for pointing that out DementedMindz I found the errors that made it not comply with W3C. A couple unclosed tags and some missing alt tags. It's now 100% W3C Transitional Compliant.

I fixed the template and editted the toplist module php file.

Here is the fixed template.
Just switch my links for yours. I added an extra link that goes to the toplist main page at the bottom of the template aswell.
Code:

<tr><td class="thead" colspan="3">$vbphrase[toplist_site_name_and_description]</td></tr><tr><td class="alt1" colspan="3"><a href="$vboptions[bburl]/out.php?id=$randsite[id]" target="_BLANK">$randsite[name]</a><br />$randsite[description]<br /><center>$image</center></td></tr>
<tr align="center">
        <td class="thead" width="20">$vbphrase[toplist_rank]</td>
        <td class="thead" width="30">$vbphrase[toplist_in]</td>
        <td class="thead" width="30">$vbphrase[toplist_out]</td>
      </tr><tr align="center"> <td class="alt2">$rand_rank</td>

<td class="alt1" width="30">$randsite[in]</td>
<td class="alt2" width="30">$randsite[out]</td></tr><tr align="center"><td class="thead" width="100%" colspan="3">$vbphrase[toplist_rating]</td>
</tr>
<if condition="$num_rows >= 1">
<tr align="center">
<td class="alt1" width="100%" colspan="3">
<if condition="$randsite[rating_average] == 0">
$vbphrase[toplist_not_rated]
<else />
<img alt="" src="$vboptions[bburl]/images/rating/toplist_rating_$rand_rating.gif"/>
<br />
$randsite[votes]
<if condition="$randsite[votes] == 1">
$vbphrase[toplist_vote]
<else />
$vbphrase[toplist_votes]
</if>
</if>
<if condition="!$show[guest]">
<br />
<a href="#" onClick="javascript:window.open('$vboptions[bburl]/toplist.php?do=rate&id=$randsite[id]','rate_site','menubar=0,resizable=1,width=$vboptions[toplist_popup_width],height=$vboptions[toplist_popup_height]');return false;">$vbphrase[toplist_rate_site]</a>
</if>
</td>
</tr>
<else />
<tr>
<td class="alt1">$vbphrase[toplist_none]</td>
</tr>
</if>

<tr align="center">
                <td class="thead" colspan="3"><b><a title="add an unusual website" href="http://www.trulyunusual.com/wards/add_site.php"><font color="gold">Add An Unusual Website</font></a></b><br /> <a title="add an unusual website" href="http://www.trulyunusual.com/wards/toplist.php"><font color="gold">Top Unusual Websites</font></a>
 

</td>
</tr>

There is 2 img tags in the php file that need alt='' added to them. Please note these are single quotes, not double quotes or you will get a parse error. Just search the toplist_random_site.php file for img and you will see.

Since this is the toplist_random_site.php file I guess everyone using this the VBA toplist module needs to add these missing alt tags whether or not you used the side template or not. Might want to update the download.

Ski-Whiz 06-25-2006 05:56 AM

Will this work with 1.0.8??

derekivey 06-25-2006 02:50 PM

Hi,

I'm not sure. I don't have vBadvanced installed right now so I can't say for sure. It probably needs updated though, I will have to look when I get some time.

Thanks,
Derek

derekivey 07-16-2006 04:26 PM

Version 1.0.4 has been released. It is now compatible with the latest version of my Toplist hack.

Please let me know if you have any problems with it.

Thanks,
Derek

DementedMindz 07-29-2006 12:22 AM

question would there be any way to make it show the top 10 links or say have it scroll the links as i dont use the buttons feature... basiclly have it grab there site name and have it when they highlight over it they will get a link to the site or the redirect?

derekivey 07-29-2006 06:35 PM

Thats currently not a feature, but I will see about adding it.

DementedMindz 07-31-2006 01:54 AM

yeah that would be a nice feature on this and toplist since alot of users dont use buttons they only use huge banners or links...

ZeroX Prodigy 08-02-2006 02:24 PM

Great vBA Add-On. Installing when I do vBA also!

jellybaby 10-18-2006 10:23 AM

I have this installed but when I click on the random site at the top it just takes me back to the toplist, any ideas?

jellybaby 10-29-2006 09:01 AM

Anyone else have this problem?

derekivey 10-29-2006 11:18 AM

Got a link I can look at?

jellybaby 10-29-2006 11:57 AM

Sorry I posted this in the wrong thread originally - so have also posted earlier on the toplist when I realised - this is my url though

http://www.mumszone.co.uk/forums/toplist.php

derekivey 10-29-2006 02:32 PM

I will reply with the fix in the Toplist thread. Please go there for it.

Thanks,
Derek

loonytune15 10-31-2006 12:28 PM

IS there a way to make the module look like this:
http://www.iz-grafix.co.uk/?styleid=7

2 modules on it..

derekivey 11-12-2006 01:57 PM

Hmm... so theres spits the sites up into 2 different modules? Or do they both have the same sites? BTW, sorry for the late reply, I didn't get a subscription email for some reason.

Derek

loonytune15 11-17-2006 12:57 AM

Well can we have a the random site like we already have, but another module that shows all of them?

derekivey 11-17-2006 09:28 AM

Quote:

Originally Posted by loonytune15 (Post 1119070)
Well can we have a the random site like we already have, but another module that shows all of them?

So your saying make a module that is like what I have on the bottom of the forum home, where it scrolls all the buttons in the Toplist?

loonytune15 11-17-2006 11:14 AM

yeah but it will be up and down instead of left to right..

derekivey 11-17-2006 07:13 PM

Yup, I'll try and make this ASAP.

Derek

loonytune15 11-18-2006 12:36 PM

no hurry, when you have a chance.

How is the toplist 3.6 version coming along?

derekivey 11-19-2006 02:28 AM

Quote:

Originally Posted by loonytune15 (Post 1120012)
no hurry, when you have a chance.

How is the toplist 3.6 version coming along?

Pretty much done, just gonna find time to release it lol. Been sooo busy :(.

DementedMindz 02-22-2007 06:18 AM

Quote:

Originally Posted by derekivey (Post 1119533)
Yup, I'll try and make this ASAP.

Derek


any word on this feature?

derekivey 02-25-2007 02:50 PM

I've been quite busy lately. I will try to get to it when I have time.

Derek


All times are GMT. The time now is 05:05 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.01222 seconds
  • Memory Usage 1,810KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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