vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Threads Started? (https://vborg.vbsupport.ru/showthread.php?t=28123)

TripleH 09-15-2001 10:20 AM

Hey everyone...

I would like to know if there is a hack for this.. I know that there is one that will put the info in your User Info..

I am wondering if there is a way that it can be put to the left of each post... Under the avatar by total posts..

Can someone do that?
Thanks

HHH

kvanque 09-15-2001 11:19 AM

i saw that somewhere

TripleH 09-15-2001 06:46 PM

I have saw it on another forum.. but I couldnt find the hack for it though...

HHH

Znaper 09-16-2001 12:47 PM

<a href="http://www.vbulletin.com/forum/showthread.php?s=&threadid=12104&highlight=thread+ started" target="_blank">Here</a> you can find the Hack!

TripleH 09-16-2001 06:24 PM

I tried this one.. but it only shows it in the user info.. not beside your post..

Thanks anyways=)

HHH

Znaper 09-17-2001 02:37 AM

Search for this into your showthread.php:

Code:

if ($post['receivepm'] and $enablepms==1) {
      eval("\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
    } else {
      $post[pmlink] = "";
    }

below this add follow code:

Code:

// Find out how many threads this user has started
  $startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postuserid='$post[userid]' AND open!='10'");
  $starts = $startcount[starts];
  if ($starts == ""):
          $starts = "0";
  endif;
  // end Find threads

Now you can edit your postbit Template and you can use the $start variabel into your showthread.php.

TripleH 09-22-2001 06:28 AM

you rock! Thanks so much!

HHH

yuppie 10-28-2001 11:59 AM

Thnanks for your work,

but i want to see the started threads in memberlist?

anybody know how>?


All times are GMT. The time now is 04:59 PM.

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.00916 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete