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)

VirtueTech 12-14-2001 10:22 PM

I can't find that in 2.0.3 either.

Any ideas?

nafae 12-14-2001 11:02 PM

The hack seemed simple enough.. :D but it looks like nothing changed (it just opens attachments like it used to.)

nafae 12-14-2001 11:04 PM

I got it working, when you said "next" i thought you ment outside of the quotes (for the last step) so i put it right NEXT to the line and it now works like a charm :) thanks firefly!

VirtueTech 12-16-2001 04:41 AM

a polite bump
Quote:

Originally posted by fixer
Hi

I cant not find
PHP Code:

updateuserforum($getforuminfo['forumid']); 

in the root/attachment.php for vb2.0.3

help please


Admin 12-16-2001 11:30 AM

That line isn't in <2.2.0 versions, so just ignore it and put it in the line above. :)

VirtueTech 12-16-2001 06:48 PM

The line above? sorry ...I don't mean to be a pest...can you give me an anchor. thanks.

Admin 12-17-2001 05:30 AM

Of course, what was I thinking. :)

Here:
Code:

  $idname='attachment';
  eval("standarderror(\"".gettemplate('error_invalidid')."\");");
  exit;
}


VirtueTech 12-17-2001 05:39 AM

That code is not in attachment.php

I do see something of that sort in functions.php

Remember I am using 2.0.3 and trying to get through step2 for attachment.php

I don't have this line:

updateuserforum($getforuminfo['forumid']);

Admin 12-17-2001 06:09 AM

Weird.
Try this one:
Code:

if ($noshutdownfunc) {

dotagious 12-22-2001 09:01 PM

Four things:

1. Great hack

2. Anyway to make it open up in the same window

OR

3. Open up in a seperate window, but then open up the next image in that same new window.

4. Anyway to upgrade this to show a thumbnail image, that when clicked, opened to a full size in the same manner as this hack allows?

OH! and does this work on 2.2.1 ?


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.02092 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
  • (1)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