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 Threads Started in Postbit v1.3 (https://vborg.vbsupport.ru/showthread.php?t=64414)

vbIce 07-31-2004 07:01 PM

This is a GREAT Hack :)

A few questions though.

How can I create a search the TOP Thread Starters like TOP POSTERS in Admincp?

Second how hard would it be to ADD a THANK YOU counter like this too?



clicks install :)

mfk_1868 01-16-2005 10:33 PM

can you help me on building a hack? i want to set up promotions related to threads started how can i do this?

Snatch 02-16-2005 07:28 PM

A view users get this error

Code:

Datenbankfehler in vBulletin 3.0.5:

Ungueltige SQL-Abfrage:
        SELECT COUNT(threadid) AS threads, postuserid AS userid
        FROM thread
        WHERE postuserid IN ()
        GROUP BY postuserid

mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
        GROUP BY postuserid' at line 3

mysql error number: 1064

Datum: 16.02.2005 22:25:32
Skript: http://www.celebritymarkt.de/showthread.php?mode=hybrid&t=10739
Referer: http://www.celebritymarkt.de/showthread.php?t=10739
Benutzername: Nicht registriert
IP-Adresse: 172.183.38.81

this is the Code in this line

Code:

$struserids = implode(",", array_values($userids));
$sthreads = $DB_site->query("
        SELECT COUNT(threadid) AS threads, postuserid AS userid
        FROM " . TABLE_PREFIX . "thread
        WHERE postuserid IN ($struserids)
        GROUP BY postuserid
");
while ($threadcount = $DB_site->fetch_array($sthreads))
{
  $search[] = "{threadsstarted[$threadcount[userid]]}";
  $replace[] = vb_number_format($threadcount[threads]);
  unset($userids[$threadcount[userid]]);
}
foreach ($userids as $userid)
{
  $search[] = "{threadsstarted[$userid]}";
  $replace[] = 0;
}
$postbits = str_replace($search, $replace, $postbits);


Can you help me ?

Snatch 03-20-2005 08:09 AM

I got this error

Code:

Datenbankfehler in vBulletin 3.0.5:

Ungueltige SQL-Abfrage:
SELECT COUNT(threadid) AS threads, postuserid AS userid
FROM thread
WHERE postuserid IN ()
GROUP BY postuserid

mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
GROUP BY postuserid' at line 3

mysql error number: 1064

Datum: 17.03.2005 07:28:55
Skript: http://www.celebritymarkt.de/showthread.php?t=14744
/> Referer: http://www.celebritymarkt.de/forumdisplay.php?f=5
/> Benutzername: fanta


in line 1699:
Code:

$struserids = implode(",", array_values($userids));
Can u help me ?

Snake 04-05-2005 09:49 AM

That's a great hack, thanks.

Snake 08-06-2005 05:00 PM

Boofo I am currently running on 3.5 RC2 so how about an upgrade? :P I am really looking forward to this hack.

Snake 09-28-2005 02:34 PM

<font size="5">Bump!</font>

Snake 09-30-2005 10:14 AM

Bump!

I really need this.

Alphawolf83 10-16-2005 04:02 PM

Great hack though the forumsid selection isn't inserted yet ;)

Snake 10-29-2005 12:06 PM

v3.5.0 please? :)


All times are GMT. The time now is 07: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.02878 seconds
  • Memory Usage 1,731KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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