vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   How to do this (https://vborg.vbsupport.ru/showthread.php?t=706)

05-27-2000 01:30 AM

I've seen it on 1 or 2 vb boards.

Look at http://www.aliensoup.com/cgi-bin/for...=20&LastLogin=

How do you make the last user to post a link to their profile?

05-27-2000 02:32 AM

You should be able to use the $newuserid variable to do that:

<a href="member.php?action=getinfo&userid=$newuserid" >$newusername</a>

John

05-28-2000 01:12 AM

My mistake - that code above would let you link to the profile of the newest member on the front page. To link to the last poster, you would do something like this in the forumdisplaybit template:

<a href="member.php?action=getinfo&username=$lastpost er">$lastposter</a>

This would work fine on everything except where the username has spaces in AND netscape is being used.

John

05-28-2000 02:41 AM

Quote:


This would work fine on everything except where the username has spaces in AND netscape is being used.

John


Does anyone have a workaround for the Netscape thingy, or is that something just to live with for the time being?

06-10-2000 02:30 AM

I would like to add this to both the main forum page and the forum topic pages. It works (apart from the problem John mentions above) but the word 'by' shows up when it's used on the home page. Presumably this should ne in the template, and not in the code ? Should this be fixed ? And how about adding an extra piece of code which would allow us to link to the profile ?


All times are GMT. The time now is 02:44 AM.

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.01148 seconds
  • Memory Usage 1,713KB
  • 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_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