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-02-2005 01:08 AM

Quote:

Originally Posted by divided_by_fear
yeah i may install it again and see if i can look at it... im just trying to get use to vbulletin... but am pretty good with nuke :)

Ok, Great.

uzman59 11-02-2005 06:31 AM

i have a question about in.php can i change somewhere for ex. when i added site, this hack give a link but only a link i want to link and little toplist pic.

derekivey 11-02-2005 10:05 AM

Please see this post. https://vborg.vbsupport.ru/showpost....2&postcount=50

uzman59 11-02-2005 11:23 AM

Quote:

Originally Posted by derekivey

i think you didnt understand me becasu i want it for ex
a user add his site to my toplist add.site.php give him to a link but only a link i want add site.php give a image link

derekivey 11-02-2005 06:50 PM

Quote:

Originally Posted by uzman59
i think you didnt understand me becasu i want it for ex
a user add his site to my toplist add.site.php give him to a link but only a link i want add site.php give a image link

Yeah, just find that and replace it with the image link code I guess. Or do you mean a dynamic image that shows the rank and stuff?

derekivey 11-02-2005 06:52 PM

For it to give a image link just do this...

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>"

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:

PHP Code:


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

Of course change IMAGEURL to the URL of an image you want them to add to their site.

uzman59 11-03-2005 05:45 AM

Quote:

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

derekivey 11-03-2005 09:59 AM

No, your supposed to find that and replace it with this:

PHP Code:

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

And replace IMAGEURL with the url of the imge you want them to use.

uzman59 11-04-2005 03:30 AM

Quote:

Originally Posted by derekivey
No, your supposed to find that and replace it with this:

PHP Code:

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

And replace IMAGEURL with the url of the imge you want them to use.

thanks derek

derekivey 11-04-2005 03:39 PM

No Problem :).

Also, in case anyone is interested, there is a German translation of my hack here.
Special thanks to Hellraider from vbhacks-germany for translating it :).


All times are GMT. The time now is 12:20 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.02385 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_php_printable
  • (5)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