vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   My Posts & My Threads (https://vborg.vbsupport.ru/showthread.php?t=200084)

Davey-UK 12-29-2008 01:43 PM

My Posts & My Threads
 
Could anyone kindly give me the links to place the following somewhere on my site.

My Posts

My Threads


So that when a user is logged in, they can click to go to a list our threads either started by them, or threads not belonging to them, but they have posted a reply in.

Regards

Lynne 12-29-2008 04:09 PM

Those links are in the member.php page. You can probably copy the links from the template to put them in another template.

Davey-UK 12-30-2008 09:06 AM

Quote:

Originally Posted by Lynne (Post 1696492)
Those links are in the member.php page. You can probably copy the links from the template to put them in another template.

Not as simple as that unforyunately :(

Each user has a different id obviously, and this has to be found before posts and threads can be found.
If that makes any sense whatsoever!

Im trying to get this on the forum homepage.

Lynne 12-30-2008 02:56 PM

I know they have different ids, this is done in the template. You would want to change $userinfo to $bbuserinfo, but this is from the template:

HTML Code:

                <tr>
                    <td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td>
                </tr>
                <tr>
                    <td><a href="search.php?$session[sessionurl]do=finduser&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
                </tr>


Davey-UK 12-30-2008 03:00 PM

doesnt work. This needs to show for each user, on the homepage. So obviously the userid is gunna be different for everyone.

Ive just installed a mod from here that shows all the information on usercp home, so i'll see what i can find from that, but thanks anyway. ;)


All times are GMT. The time now is 02:26 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.01060 seconds
  • Memory Usage 1,721KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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