vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Who viewed this thread? (https://vborg.vbsupport.ru/showthread.php?t=61225)

Kentaurus 02-09-2004 01:18 AM

Seems that there we some cases I didn't consider. I fixed it already and uploaded an updated txt. For the people that installed it please change:

(and there we go with this censor...)

PHP Code:

$+++++adids array_keys($+++++adarray);
$+++++
sult $DB_site->query("SELECT user.* FROM ".TABLE_PREFIX."user AS user WHERE userid IN (".implode(",",$+++++adids).")");
while (
$whodata $DB_site->fetch_array($+++++sult))
{
    $+++++
adnames[] = fetch_musername($whodata); 
}
$+++++
ad = @implode(",", $+++++adnames); 

to:

PHP Code:

    if (!empty($+++++adarray))
    {
 
     $+++++
adids array_keys($+++++adarray);
     $+++++
sult $DB_site->query("SELECT user.* FROM ".TABLE_PREFIX."user AS user WHERE userid IN (".implode(",",$+++++adids).")");
     while (
$whodata $DB_site->fetch_array($+++++sult))
     {
         $+++++
adnames[] = fetch_musername($whodata); 
     }
     $+++++
ad = @implode(",", $+++++adnames);
        
$total+++++ad = @count($+++++adarray);
    } 

it is already in the txt

Boofo 02-11-2004 08:08 AM

It still isn't sorting the names quite right. In that list of names I sent you in the email, the last name is still showing up out of order. Any way to fix that? ;)

Kentaurus 02-12-2004 12:19 AM

Quote:

Originally Posted by Boofo
It still isn't sorting the names quite right. In that list of names I sent you in the email, the last name is still showing up out of order. Any way to fix that? ;)

Then I'll write a small script to sort them, just give me some time :)

WAR 02-12-2004 12:44 AM

were you planning on releasing an htl compliant version again at some point?
(I was going to wait until then if so)

Kentaurus 02-12-2004 01:09 AM

Quote:

Originally Posted by WAR
were you planning on releasing an htl compliant version again at some point?
(I was going to wait until then if so)

When HTL 1.1 is ready, maybe. It's just that editing both the HTL and the TXT is some time consuming.

Boofo 02-12-2004 01:32 AM

Quote:

Originally Posted by Kentaurus
Then I'll write a small script to sort them, just give me some time :)

Ok, I'll be here waiting. ;)

Kentaurus 02-13-2004 02:17 PM

Quote:

Originally Posted by Boofo
Ok, I'll be here waiting. ;)

It only happened with the colors highlight .... it was an "error" in the query (actually the order by was missing).

Code:

                $+++++sult = $DB_site->query("SELECT user.* FROM ".TABLE_PREFIX."user AS user WHERE userid IN (".implode(",",$+++++adids).")");
change it to
Code:

                $+++++sult = $DB_site->query("SELECT user.* FROM ".TABLE_PREFIX."user AS user WHERE userid IN (".implode(",",$+++++adids).") ORDER BY username");
If that doesn't work take a broom and hit the hack... err.. I'll fix it again.

whoviewed_colors.txt updated also

Boofo 02-13-2004 09:16 PM

You can hold off on the broom. That fixed it. ;)Thank you kindly, sir. ;)

Alas-Digitales 02-14-2004 03:44 PM

Would be possible that the usersnames had a link to their profile?

Boofo 03-18-2004 10:26 PM

Yes, would it be possible to have the names linked to their profile? That would be excellent. ;)


All times are GMT. The time now is 07:02 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.01006 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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