vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Threads Started by User in Postbit & Profile (https://vborg.vbsupport.ru/showthread.php?t=151844)

Mike-D 01-27-2008 11:31 AM

Does someone tried to combine that hack with Ziki's Hack ZH - % Of Forum Posts ? Whenever I try to integrate Ziki's Code in that Code here, my post counter decrease dramatically. Then I get always the wrong info within the MEMBERINFO :)

Boofo 01-27-2008 12:50 PM

Quote:

Originally Posted by Freesteyelz (Post 1429572)
Thanks, Boofo. Long time no see. :)

I noticed after deleting posts and updating all counters the thread count didn't readjust. After trying several things (including forcing cron) I uninstalled then reinstalled the XML. That did the trick. Any ideas?

I think this needs to be reworked in the way it updates the thread count. Right now it will update them correctly when you un-install and re-install it. The cron part of it doesn't seem to be working as well as it should be with the new version of vb. I will look into this and see what I can figure out as soon as I brush up on some of the new code since version 3.5.4 (which this was actually written for). There are a lot of new changes that I need to get caught up on. ;)

And nice to see you again, too, sir. Been too long. ;)

Freesteyelz 01-27-2008 01:19 PM

Yup, it has. :)

Let us know if you'll get the cron going. It's a useful mod that vB should have implemented as a regular function of the system. :)

Icy 01-27-2008 01:54 PM

Thanks for the confirmation Bofoo. I had a plan of implementing auto template with this modification. But been busy with my exams & study. Hope to see a release from you for 3.7 :)

Mike-D 01-27-2008 03:14 PM

Got it worked now with more detailed infos. Thanks for all the help :mad:

Freesteyelz 01-29-2008 05:09 AM

It was only 4 hours since you posted your question, Mike-D. You can't expect voluntary members to post answers immediately so exercise a bit of patience. It's also possible that members did not know of a fix.

If you're asking for support on a mod that the author did not create don't expect an answer either.

Mecho 02-19-2008 08:18 AM

is there any chance to have top thread starter too ??

princeedward 02-24-2008 12:22 PM

Yeah!....i guess this is not quite far enough to have the

Top Thread Starter Of The Month!

thanks...for sharing this...

;)

Boofo 02-24-2008 12:38 PM

Quote:

Originally Posted by princeedward (Post 1449874)
Yeah!....i guess this is not quite far enough to have the

Top Thread Starter Of The Month!

thanks...for sharing this...

;)

This one doesn't update on the cron. It has been fixed in the 3.7.0 version.

choccyclaire 03-02-2008 06:49 PM

Quote:

Originally Posted by Freesteyelz (Post 1412455)
The total thread count shows up in postbit and profile in 3.7 Beta 3. The only thing I haven't figured out yet is the percentage of threads per day. To get total threads in profile do the following:

In template memberinfo_block_statistics find:

Code:

  <legend>$vbphrase[total_posts]</legend>

And replace it with:

Code:

  <legend>$vbphrase[total_posts] & $vbphrase[threads]</legend>

Then find:

Code:

  <if condition="$prepared['lastposturl']">
    <li>
    <span class="shade">$vbphrase[last_post]:</span> <a href="$prepared[lastposturl]">$prepared[lastposttitle]</a> $prepared[lastpostdate] <span class="time">$prepared[lastposttime]</span>
    </li>
  </if>


Add after:

Code:

                        <li><span class="shade">$vbphrase[total_threads]: <strong>$userinfo[threads]</strong></li>

Total thread count should now be in Profile.

You missed </span> :)

Code:

                        <li><span class="shade">$vbphrase[total_threads]: </span><strong>$userinfo[threads]</strong></li>
Thanks for that though!

*clicks install*


All times are GMT. The time now is 11:13 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.01364 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (3)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