vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - [postbit_legacy]- Post Count Link to Posts (https://vborg.vbsupport.ru/showthread.php?t=309061)

XiTCLUB 02-28-2014 11:00 PM

[postbit_legacy]- Post Count Link to Posts
 
1 Attachment(s)
Hello,
This is very little modification that will make user post count click-able and on click it will list all of user posts.

1: Edit "postbit_legacy" Template

Find
Code:

{vb:raw post.posts}
Replace with
Code:

<a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw post.userid}&amp;contenttype=vBForum_Post&amp;showposts=1">{vb:raw post.posts}</a>

ramesh_umk3 03-02-2014 09:39 AM

Any new in this friend ? cause i have seen many similar mods like this i added this code when i was using vB v4.1.0 its working till now

Quote:

{vb:rawphrase posts} : <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw post.userid}&amp;contenttype=vBForum_Post&amp;show posts=1" title="View {vb:raw post.username}'s posts">{vb:raw post.posts}</a>
ScreenShot:
https://vborg.vbsupport.ru/external/2014/03/65.png

Thanks for sharing

Justinphx 03-03-2014 02:36 AM

Thanks. Works great.

ahobilam 03-03-2014 01:52 PM

Simply Super.
Good Idea works well.
Thanks.

XiTCLUB 03-06-2014 04:47 AM

Quote:

Originally Posted by ramesh_umk3 (Post 2484544)
Any new in this friend ? cause i have seen many similar mods like this i added this code when i was using vB v4.1.0 its working till now



ScreenShot:
https://vborg.vbsupport.ru/external/2014/03/65.png

Thanks for sharing

I have not checked other mods, i have implemented it on my forum myself and just though sharing this trick will help others who does not want to install a MOD for every little thing :)

Nirjonadda 03-06-2014 04:26 PM

Quote:

Originally Posted by ramesh_umk3 (Post 2484544)
Any new in this friend ? cause i have seen many similar mods like this i added this code when i was using vB v4.1.0 its working till now



ScreenShot:
https://vborg.vbsupport.ru/external/2014/03/65.png

Thanks for sharing

Which mod doing that without Changing a template manually?

ramesh_umk3 03-07-2014 05:55 AM

Its not any MOD just Manual Template Editing below is the code

Code:

{vb:rawphrase posts} : <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw post.userid}&amp;contenttype=vBForum_Post&amp;showposts=1" title="View {vb:raw post.username}'s posts">{vb:raw post.posts}</a>

DemOnstar 03-07-2014 03:26 PM

Can this be done with user threads?

Clicking on user threads to take you to threads created by the user?

JGreig 03-08-2014 01:25 AM

Quote:

Originally Posted by DemOnstar (Post 2485700)
Can this be done with user threads?

Clicking on user threads to take you to threads created by the user?

Try this:

Code:

{vb:phrase threads}: <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw memberinfo.userid}&amp;contenttype=vBForum_Post&amp;starteronly=1" rel='nofollow'>{vb:rawphrase find_all_started_threads}</a>

DemOnstar 03-08-2014 02:50 AM

Ok, thanks for the response.

I have opened postbit_legacy but not sure what I am looking for.

Am I adding this or replacing something in there?
Does it go before something or after something?

Cheers.


All times are GMT. The time now is 10:25 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.01097 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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