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)

Sean James 11-19-2005 03:23 PM

Quote:

Originally Posted by derekivey
Yeah sorry about that. I moved the hard coded html into templates.

Derek

np dude ;)

I have just updated and now get a white page when i add a new link.

http://www.bluepearl-design.com/forums/add_site.php

How would i go about fixing this?
I have already tried re-installing but this hasnt helped.

derekivey 11-19-2005 05:52 PM

Hi,

I registered at your forums (derekivey) and I was able to add a site. Are you still having problems?

Derek

divided_by_fear 11-19-2005 06:10 PM

derekivey what was included in the update yesterday if you dont mind?

Xtrato 11-19-2005 06:29 PM

Quote:

Originally Posted by derekivey
You can edit the Toplist_HTML_Code template to change it.

Where do i edit that?

divided_by_fear 11-19-2005 06:30 PM

in ur admin cp then go to Styles & Templates and edit template... then that template

derekivey 11-19-2005 07:14 PM

Quote:

Originally Posted by divided_by_fear
derekivey what was included in the update yesterday if you dont mind?

I didn't update anything yesterday, I just updated my post to add stuff to the to do list.

By the way, version 1.0.3 should be released either tonight or tomorrow.

Brandon Sheley 11-20-2005 05:18 PM

Very nice will install, and added my site to your toplist :D
thx for this hack, hopefully it'll help me get more traffic to :D

[high]* Brandon Sheley clicks install
[/high]

how can i moderate new links added ? ilooked in vboptions and toplist and didn't see it, maybe I'm overlooking it

derekivey 11-20-2005 05:56 PM

Hi,

That feature is in version 1.0.3. I will be releasing that version later tonight.

Brandon Sheley 11-20-2005 06:29 PM

ah, right on,, will it be hard to upgrade ?

divided_by_fear 11-20-2005 11:16 PM

will we lose sites when updating?

derekivey 11-20-2005 11:17 PM

Version 1.0.3 Released.

You will not lose your sites as long as you select yes for overwrite when importing the product.
DO NOT UNINSTALL IT FIRST! ALL YOU HAVE TO DO IS REIMPORT IT AND SELECT OVERWRITE.

divided_by_fear 11-20-2005 11:19 PM

sweet so its like a 2 second job then lol... one other thing since i added a image to the code will that change at all?

derekivey 11-20-2005 11:21 PM

Quote:

Originally Posted by divided_by_fear
sweet so its like a 2 second job then lol... one other thing since i added a image to the code will that change at all?

Nope, there are no changes to that template. So it should still be intact. Also don't forget to upload the new files.

divided_by_fear 11-20-2005 11:23 PM

ok np ty very much... and thanks for supporting your mod since most around vbulletin seem to be just making them and giving no support

derekivey 11-20-2005 11:26 PM

Lol, No Problem :).

divided_by_fear 11-20-2005 11:30 PM

damn man its nice you could basiclly use this as affilates too since the affilates for 3.5.1 dont work well... great job bro........wow i like the random site too

divided_by_fear 11-20-2005 11:32 PM

hey quick question do you use vbadvanced? i think this would be nice on a random module on main page?

derekivey 11-20-2005 11:42 PM

Quote:

Originally Posted by divided_by_fear
hey quick question do you use vbadvanced? i think this would be nice on a random module on main page?

No I haven't used it. I will install it later on my test board and try making a module for it. I'll let you know if I have any luck.

Derek

divided_by_fear 11-20-2005 11:43 PM

yeah man damn with you christmas is coming early lol ... thanks for all your hard work and support...

opelgtman 11-21-2005 12:10 AM

When I add a site, it leads me to a blank page when I hit submit. The site will be in the database and show if I go back to the toplist but it never shows the html code.

http://messageboard.gulfcoastbands.com/toplist.php

derekivey 11-21-2005 12:18 AM

Quote:

Originally Posted by opelgtman
When I add a site, it leads me to a blank page when I hit submit. The site will be in the database and show if I go back to the toplist but it never shows the html code.

http://messageboard.gulfcoastbands.com/toplist.php

Hi,

I just tried it and didn't run into that problem. Try clearing your cache maybe.

Derek

derekivey 11-21-2005 12:37 AM

divided_by_fear, please try the attached module I made and let me know if it works ok for you.

I tried it on my test board and it appears to be working. Once you let me know it works, I'll release it in the appropriate forum here.

Just import the .module file, it should install the template and stuff. Let me know if you have problems.

Thanks,
Derek

divided_by_fear 11-21-2005 01:00 AM

yeah just like that but it makes it huge maybe put the info to the site on top and the hits below if you can take a look it makes the blocks wider

http://img468.imageshack.us/img468/6...dule8hd.th.jpg

derekivey 11-21-2005 01:01 AM

Actually, I had set it up to be in the center. Do you have space to put it in the center?

divided_by_fear 11-21-2005 01:02 AM

np man thank you very much... thanks for doing it

divided_by_fear 11-21-2005 01:04 AM

also one other thing is there anyway to cache that block?
Uncached templates: Toplist_1 (8)

derekivey 11-21-2005 01:04 AM

So it's working now?

Yeah, I'm looking into the caching problem. I'll post back when I have a fix.

derekivey 11-21-2005 01:10 AM

Ok, its fixed now. Please import this module file instead...

divided_by_fear 11-21-2005 01:11 AM

ok np ill try it right now ty

divided_by_fear 11-21-2005 01:20 AM

its almost the same thing let me look at the template and see

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 03:32 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.02937 seconds
  • Memory Usage 1,833KB
  • 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
  • (6)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
  • (40)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