vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Attachment Viewer (https://vborg.vbsupport.ru/showthread.php?t=31983)

Xelation 02-23-2002 12:05 AM

On my friends board there is something wrong with the userid or something... I found this problem... when you go to view An attachment, it says..... Posted By: but then some random user name goes here. So does anyone have any clues of whats going on here? here is what the attachmentview template looks like.

<html>
<head>
<title>$bbtitle - Attachment Viewer</title>
$headinclude</head><body>$header<!-- breadcrumb -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr><td><normalfont><b>$navbar > Attachment Viewer</b>
</normalfont></td></tr></table><!-- /breadcrumb --><br>
<table cellpadding="0" border="0" cellspacing="1" width="{contenttablewidth}" align="center"><tr>
<td nowrap valign="top" align="center"><normalfont>
<img src="attachment.php?s=$session[sessionhash]&attachmentid=$attachmentid">
<br>
<br>Posted by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$attachuserid">$attachusern ame</a>
</normalfont><br><smallfont><a href="attachment.php?s=$session[sessionhash]&attachmentid=$attachmentid">
<normalfont>[</normalfont>image alone<normalfont>]</normalfont></a> <a href="$nav_url">
<normalfont>[</normalfont>back<normalfont>
</normalfont></a><br><br><br> <center>
$bbtitle takes no responsibility for the content of messages
<br>and or images linked to or displayed on $bbtitle. All uploaded<br>
material remains the property of the user who uploaded it.
</center></smallfont></td></tr></table>$footer</body></html>

Xelation 02-23-2002 06:52 PM

can anyone help me with the current problem I stated above?

neal 02-24-2002 02:46 AM

Thanks Firefly.. another good one.

Working demo at http://www.teenagedweb.com/attachmen...266&fullpage=1 (You don't need to be registered to view attachments)

Stylez 03-04-2002 09:36 PM

this works just fine, thanks :P

Crazy Mofo 05-01-2002 02:26 AM

i alos have that random name thing happening can some1 help pls? is there a fix?

also for the ppl who are just getting the white nackround Makre sure its the admin/functions you are changing and re-uploading too not root/functions

Crazy Mofo 05-01-2002 04:25 PM

[high]* Crazy Mofo gives a polite bump :([/high]

David Bott 05-01-2002 04:44 PM

Question...2.2.5 safe for install using the install script?

Dark Odin 05-01-2002 07:08 PM

How can I get this to work with attachments in PMs?

FleaBag 05-18-2002 02:13 PM

Installed on 2.2.5, excellent addition to my forums, a noticeable amount of extra posts have occured!

David Bott 05-18-2002 03:41 PM

Installed nicely in 2.2.5. Thank you.


All times are GMT. The time now is 04:58 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.01091 seconds
  • Memory Usage 1,733KB
  • 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)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