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)

Swindont 10-22-2005 03:46 PM

how can i make it so when users are on topsites on user online it says that and not unknown location?

Mr Chad 10-22-2005 04:03 PM

Quote:

Originally Posted by Swindont
how can i make it so when users are on topsites on user online it says that and not unknown location?

I got it to work, very nice.

derekivey 10-22-2005 06:19 PM

Quote:

Originally Posted by Swindont
how can i make it so when users are on topsites on user online it says that and not unknown location?

Huh? It should say that already... See screenshot below.

Allan 10-22-2005 08:53 PM

Suggestion: it would be well to be able to edit its site (description, url, buttons url) ;)

derekivey 10-22-2005 11:30 PM

Quote:

Originally Posted by Allan
Suggestion: it would be well to be able to edit its site (description, url, buttons url) ;)

You mean allow the user to edit their site? I plan to add that feature in the next release.

Daniel 10-23-2005 12:57 AM

This is great, thanks!

But where can I edit the "add site" page? I see it says $html - where can I find that?

derekivey 10-23-2005 01:27 AM

You would have to open add_site.php and edit the $html variable in it. The code is there.

Daniel 10-23-2005 05:36 AM

Thanks. Where would I go in add_site.php to edit this though. It's once the site has been submitted, and gives the code to put on their site.
ie:
PHP Code:

<a href='http://www.mysite.com/forum/in.php?id=2' target='_BLANK'>MySite.com</a


Allan 10-23-2005 06:48 AM

Quote:

Originally Posted by derekivey
You mean allow the user to edit their site ?

yes :)

derekivey 10-23-2005 04:08 PM

Quote:

Originally Posted by Daniel
Thanks. Where would I go in add_site.php to edit this though. It's once the site has been submitted, and gives the code to put on their site.
ie:
PHP Code:

<a href='http://www.mysite.com/forum/in.php?id=2' target='_BLANK'>MySite.com</a


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


All times are GMT. The time now is 10:54 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.01998 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)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