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)

DarkReaper 11-30-2001 12:26 AM

Bug:

http://www.unrealtournament.org/foru...367&fullpage=1

User's name shows up as "Fatal_Exception&lt;LSD&gt;" when it should be "Fatal_Exception<LSD>"

Admin 11-30-2001 11:25 AM

Ok, try this fix.
In attachment.php, replace this:
Code:

  $attachusername=$getuser[username];
with this:
Code:

  $attachusername=unhtmlspecialchars($getuser[username]);

DarkReaper 12-01-2001 02:49 AM

Worked :)

DarkReaper 12-01-2001 06:43 PM

You might want to update the zip with that fix.. ;)

Nam 12-02-2001 01:16 AM

Quote:

Originally posted by JTMON
I installed using the instructions but it only said to modify the postbit_attachment template. I've looked both places but can't find the code?
Me too, I don't know what else should I need to edit or create? How come the install file didn't create it for me? Anyway, the hack didn't work for me, it says:
Quote:

No attachment specified. If you followed a valid link, please notify the webmaster
Help please?

Sinecure 12-10-2001 10:47 PM

Just installed it, great hack, no flaws :) I mofied the navbar so that is suited the customizing i have done with mine already and I changed the template around a bit to suit my needs, but other then that it was easier then Pie on a sunday night :)

Thanks Firefly for the hack and Bane for the installer portion :)

Bimma Boy 12-11-2001 04:45 PM

Wow, what a cool hack, installed in minutes! :)

You guys make wicked hacks - bring them on!

Bimma Boy

VirtueTech 12-14-2001 04:10 AM

Will this work with 2.0.3?

Admin 12-14-2001 05:48 AM

I think it was initially written for 2.0.3, but I waited until 2.2.0 was out. So I think it would work, yeah. :)

fixer 12-14-2001 04:28 PM

Hi

I cant not find
PHP Code:

updateuserforum($getforuminfo['forumid']); 

in the root/attachment.php for vb2.0.3

help please


All times are GMT. The time now is 10:37 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.01099 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (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