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)

Hellraider 11-04-2005 06:41 PM

Hope that helps our german users to use this fine hack in their native language :)

Thanks for your permission to translate and thanks for linking to vBHacks-Germany.

derekivey 11-04-2005 07:07 PM

No Problem :)

uzman59 11-05-2005 07:59 AM

Quote:

Originally Posted by derekivey
No Problem :)

sorry but i have a question :)
i did everthink it had done but my users add their sites to toplist.they put my toplist code you know.it is okey but their users click my toplist code a site opens and says:redirecting..... but it dont redirect

derekivey 11-05-2005 01:30 PM

Can you give me a URL to your site? Also, did you set the redirect URL in the AdminCP under Toplist Options?

derekivey 11-05-2005 05:03 PM

Version 1.0.2 has been released. Please see the first post to see what has been changed.

Derek

Daniel 11-05-2005 05:41 PM

I get the error:
Warning: getimagesize(fgf): failed to open stream: No such file or directory in /add_site.php on line 64

How would I go about fixing that?

derekivey 11-05-2005 05:45 PM

What did you type in the image field?

uzman59 11-05-2005 05:50 PM

Quote:

Originally Posted by derekivey
Can you give me a URL to your site? Also, did you set the redirect URL in the AdminCP under Toplist Options?

thank you very much derek :squareeyed:

derekivey 11-05-2005 05:55 PM

Quote:

Originally Posted by uzman59
thank you very much derek :squareeyed:

Did you get it working uzman59?

uzman59 11-06-2005 07:10 AM

Quote:

Did you get it working uzman59?
it is working well now thanks again

funinthesun 11-06-2005 01:19 PM

OK, this is going to sound like a really dumb question but when it says to upload all of the files in the upload folder, where do you upload them to? Do you put the ones in the admincp folder for example into the admincp folder on your server etc? :confused:

derekivey 11-06-2005 02:11 PM

Yes, the admincp files go into the admincp folder, same with the includes folder etc.

funinthesun 11-06-2005 03:44 PM

Installed! Thank you! It's just what I was looking for! Thank you! :)

Ramsesx 11-07-2005 10:19 AM

nice now, thank you derekivey .
But one bug is there, if I change an entry and save, it is shows everytime in the html code box for putting on the web site the "id=1" .
And one more question, is it possible to disable html in the site description field?
Thank you

derekivey 11-07-2005 06:47 PM

Yes, I will add an option to disable the HTML in the description, and name. I'll take a look into the bug you found.

derekivey 11-07-2005 07:01 PM

Hi,

I'm unable to find that bug. Can you please show me what you mean? Perhaps take a screenshot or something?

Thanks,
Derek

King Kovifor 11-08-2005 12:44 PM

Nice Hack

davidw 11-08-2005 01:00 PM

<font color="SeaGreen">* christianb subscribes to this thread</font>

Allan 11-08-2005 06:28 PM

French Language for v1.0.2 :)

A suggestion for the next version, if you add to phrases, made a mark in your file xml to know of or the new phrases begins, it helps for the translations ;)

derekivey 11-08-2005 07:02 PM

What do you mean make a mark? I'm kind of confused lol.

Thanks,
Derek

Allan 11-08-2005 07:12 PM

news version = news phrase

exemple:
Code:

<phrase name="toplist_url_of_image"><![CDATA[URL de l'image (Optionel)]]></phrase>
<phrase name="toplist_username"><![CDATA[Nom Utilisateur]]></phrase>
<phrase name="toplist_width_and_height_too_big"><![CDATA[D?soler, l'image ne peut ?tre ajouter ! La largeur et la hauteur d?passe la limite autoris?. Essayer de nouveau.]]></phrase>
<phrase name="toplist_width_too_big"><![CDATA[D?soler, l'image ne peut ?tre ajouter ! La largeur d?passe la limite autoris?. Essayer de nouveau.]]></phrase>
<phrase name="toplist_yes"><![CDATA[Oui]]></phrase>
// addon phrase for Toplist version 1.0.8
<phrase name="toplist_exemple><![CDATA[exemple]]></phrase>
etc .....
............
</phrasetype>


derekivey 11-08-2005 07:37 PM

Ok, Good Idea Allan, I'll try and do that on newer releases.

Thanks,
Derek

Sean James 11-09-2005 01:55 PM

Quote:

Originally Posted by derekivey
Find:
PHP Code:

$html "{$vbphrase['toplist_add_successful']}<br />
{$vbphrase['toplist_html_code_message']}:<br />
<textarea cols='40' rows='4'><a href='
{$vbulletin->options['bburl']}/in.php?id={$sr['id']}' target='_BLANK'>{$_POST['name']}</a></textarea>"

And just change:
PHP Code:

<textarea cols='40' rows='4'><a href='{$vbulletin->options['bburl']}/in.php?id={$sr['id']}' target='_BLANK'>{$_POST['name']}</a></textarea



To what ever you want.

Hope this helps.

Derek


these modications r made in the add_site.php?
Because i cannot find anything that resembles this

Sean James 11-09-2005 02:11 PM

its all good, the modifications need to be made in the Toplist_HTML_Code template.

Very nice script *clicks install*

derekivey 11-09-2005 06:42 PM

Yeah sorry about that. I moved the hard coded html into templates.

Derek

divided_by_fear 11-12-2005 12:22 AM

derekivey now does this only show a link back to the site now? or will it display there button so they can link the button? and if it does display a button how and where do i put my button link?

derekivey 11-12-2005 01:36 AM

It only shows a link, but you can edit the HTML to have it show a button instead. Just edit the Toplist_HTML_Code template and replace:

PHP Code:

<a href="$vboptions[bburl]/in.php?id=$sr[id]target="_BLANK">$_POST[sitename]</a

With:

PHP Code:

<a href="$vboptions[bburl]/in.php?id=$sr[id]target="_BLANK"><img src="path_to_image" border="0"></a

Of course, don't forget to replace path_to_image with the url of the image.

Derek

Xtrato 11-12-2005 10:49 PM

Hey when i install the whole thing and later i wana use a different template do i need to reinstall this or no? I know how to add the links so thats not my worry

Thanks..

derekivey 11-12-2005 11:00 PM

vBulletin adds the templates I believe, so it should be added to the new template.

divided_by_fear 11-12-2005 11:15 PM

derekivey i did that it worked wonderful... one more thing how could i add a table like you have when it shows the code but one above it and have that just show the image they are going to use? so basiclly have it like you do now with with another table above the link with the button inside no code showing there only the code showing on the table below...

Xtrato 11-13-2005 05:12 PM

Derek if i wanted to add like a text box(to explain how the toplist works) above the top the header(the header says blahblahblah Toplist) how could I do that and what codes :S :squareeyed:

puertoblack2003 11-13-2005 06:39 PM

Great Hack *********INSTALLED**********

CAL 11-15-2005 04:53 AM

AM I doing something wrong here?

I want non members to be able to add sites too. ie just guests.

Can this be done?

derekivey 11-15-2005 10:01 AM

Quote:

Originally Posted by Xtrato
Derek if i wanted to add like a text box(to explain how the toplist works) above the top the header(the header says blahblahblah Toplist) how could I do that and what codes :S :squareeyed:

You mean you want to put it right beside your forums name Topist?

Quote:

Originally Posted by CAL
AM I doing something wrong here?

I want non members to be able to add sites too. ie just guests.

Can this be done?

No, that is currently not a feature. I might add it in an upcoming release.

divided_by_fear 11-15-2005 01:05 PM

how code i show the image above the code... basiclly have another table above it showing what they are linking(ex. the button in a table above just showing the image) to make it clearer have 2 tables one with image and the one on the bottom like it is now with the code?

Xtrato 11-15-2005 07:50 PM

Quote:

Originally Posted by derekivey
You mean you want to put it right beside your forums name Topist?


No i basically want a text box above the "forumname Toplist" line.

make sense??


Also can you make a feature to approve or decline toplists

And also you know when someone registers a toplist and gets there link for the toplist. How can i change that to give a link that shows a image like a image 88x31 that says Vote toplist. Or even show me where the code is so i can change it


THANKS SO MUCH!

loonytune15 11-16-2005 01:00 PM

Great Hack, better than the affiliates system i was going to use.

Hope to see the options flagged for a later release installed soon.

derekivey 11-16-2005 07:05 PM

Quote:

Originally Posted by divided_by_fear
how code i show the image above the code... basiclly have another table above it showing what they are linking(ex. the button in a table above just showing the image) to make it clearer have 2 tables one with image and the one on the bottom like it is now with the code?

Just edit the Toplist_HTML_Code template, and change:
PHP Code:

<textarea cols="40" rows="4"><a href="$vboptions[bburl]/in.php?id=$sr[id]target="_BLANK">$_POST[sitename]</a></textarea

To:
PHP Code:

<img src="URL_To_Image" border="0" /><br />
<
textarea cols="40" rows="4"><a href="$vboptions[bburl]/in.php?id=$sr[id]target="_BLANK">$_POST[sitename]</a></textarea

That should work, don't forget to change URL_To_Image to the url of your image.
Quote:

Originally Posted by Xtrato

No i basically want a text box above the "forumname Toplist" line.

make sense??

You could edit the Toplist template and after:
PHP Code:

$navbar 

Add:
PHP Code:

<textarea cols="40" rows="5">Text</textarea

Quote:

Originally Posted by Xtrato
Also can you make a feature to approve or decline toplists

Yes, I will add that to my to do list for this.
Quote:

Originally Posted by Xtrato
And also you know when someone registers a toplist and gets there link for the toplist. How can i change that to give a link that shows a image like a image 88x31 that says Vote toplist. Or even show me where the code is so i can change it

You can edit the Toplist_HTML_Code template to change it.

divided_by_fear 11-17-2005 12:28 AM

thanks alot.... yeah that feature to approve or decline would be nice...

derekivey 11-17-2005 01:24 AM

Ok, I'll try to release another version soon with that included.


All times are GMT. The time now is 11:56 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.02475 seconds
  • Memory Usage 1,845KB
  • 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_code_printable
  • (8)bbcode_php_printable
  • (12)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