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)
-   -   Mini Mods - User's topic in postibt/postbit_legacy [ENG-ITA] (https://vborg.vbsupport.ru/showthread.php?t=259270)

Scanu 02-21-2011 10:00 PM

User's topic in postibt/postbit_legacy [ENG-ITA]
 
1 Attachment(s)
Now there's a a product that you can found here


Hi guys this modifications put a link to the user's post/thread/topic in the postbit/postbit_legacy

--------------------------------------------------------------------

Ciao ragazzi questa modifica permette di aggiungere nel postbit il link "Topic di nomeutente"

Installation
1 Go to: styles and Templates -> Search in Template -> postbit/postbit_legacy
2 Open postbit/postbit legacy and search on it
PHP Code:

    <vb:if condition="$post['userid']">
                {
vb:raw memberaction_dropdown}
                
            <
vb:else />
                <
span class="username guest">{vb:raw post.musername}</span>
            </
vb:if> 

Add under it
PHP Code:

<a href="/search.php?do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&showposts=1"> {vb:raw post.username}'s topics</a> 

Enjoy :D




Installazione
1 Vai in: Stili e Template -> Ricerca nei Template -> postbit/postbit_legacy
2 Apri il postbit/postbit legacy e cerca:
PHP Code:

    <vb:if condition="$post['userid']">
                {
vb:raw memberaction_dropdown}
                
            <
vb:else />
                <
span class="username guest">{vb:raw post.musername}</span>
            </
vb:if> 

Aggiungi sotto
PHP Code:

<a href="/search.php?do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&showposts=1">Topic di {vb:raw post.username}</a

Buona fortuna! :D


by Tecnowii


Prewiews
Screenshot Preview
Demo preview

bulldog51981 02-22-2011 04:02 PM

Had to remove the </div> at the end of new code and add <br> to the beginning. Once I did that, worked perfect.

(postbit legacy)
v4.1.1

Last_Zero 02-22-2011 05:36 PM

Yeah You Must Remove This

</div>

Coz Its Already There

lubbie 02-22-2011 05:53 PM

I´m blind. I dont see anything

Scanu 02-23-2011 05:37 PM

Quote:

Originally Posted by bulldog51981 (Post 2165483)
Had to remove the </div> at the end of new code and add <br> to the beginning. Once I did that, worked perfect.

(postbit legacy)
v4.1.1

Sorry a error when I copy the text in my template :D
The </div> must delete but the <br> is not must
So thank you, I have correct

Scanu 02-25-2011 04:57 PM

Quote:

Originally Posted by lubbie (Post 2165531)
I?m blind. I dont see anything

You don't see the link in the postbit? Are you sure that you changed the correct template
If you use the postbit write in the postbit template if you use postbit legacy write in postbit_legacy template

hdloaded 02-25-2011 06:34 PM

thank Tecnowii
this mod is great

COL NIL SATIS 02-26-2011 01:37 PM

tagged

Scanu 09-04-2011 09:34 AM

you're welcome

hivitro 09-15-2011 01:53 AM

Code:

<a href="/search.php?do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&showposts=1">Topic di {vb:raw post.username}</a>
Very interesting. Thank you very much


All times are GMT. The time now is 10:34 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.01345 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete