vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Quick Attachments Host (https://vborg.vbsupport.ru/showthread.php?t=91777)

Selene 07-07-2005 10:22 AM

ok let me install again and paste error msg.

Selene 07-07-2005 10:25 AM

Quote:

Parse error: parse error, unexpected T_EVAL in /home2/forums/newthread.php on line 226
line 225 and 226 in newthread.php are:

eval('$quickattachmenthost_bits = "' . fetch_template('quickattachmenthost_bits') . '";')
eval('$quick_attachment_host = "' . fetch_template('quick_attachment_host') . '";');
// get attachment options

Selene 07-07-2005 10:26 AM

and i did also make the templates for hots and bits

Guest190829 07-07-2005 10:33 AM

Change

PHP Code:

eval('$quickattachmenthost_bits = "' fetch_template('quickattachmenthost_bits') . '";')
eval(
'$quick_attachment_host = "' fetch_template('quick_attachment_host') . '";'); 

to

PHP Code:

eval('$quickattachmenthost_bits = "' fetch_template('quickattachmenthost_bits') . '";');
eval(
'$quick_attachment_host = "' fetch_template('quick_attachment_host') . '";'); 

On both newreply.php and newthread.php. I left out an ; by accident. Thank you for finding this. :)

I will edit the install and upload it right now.

Selene 07-07-2005 10:36 AM

gr8 Danny , :) i will try it out now.

thx for a good hack

Selene 07-07-2005 10:40 AM

Now i got this error:

Parse error: parse error, unexpected ';', expecting ')' in /home2/forums/newreply.php on line 44

and line 44 is $actiontemplates = array();

lemi re-installagainto be sure

Selene 07-07-2005 10:43 AM

ok i re-tested same error but only in newreply.php

newthread is working fine!

Guest190829 07-07-2005 10:47 AM

Make sure your global templates look like this

PHP Code:

$globaltemplates = array(
    
'newreply',
    
'newpost_attachment',
    
'newreply_reviewbit',
    
'newreply_reviewbit_ignore',
    
'newreply_reviewbit_ignore_global',
    
'newpost_attachmentbit',
    
'quick_attachment_host',
    
'quickattachmenthost_bits',
); 

If it does look like that, post lines 30-40 of your newreply.php file.

Selene 07-07-2005 10:52 AM

yeps forgot to add );
(it was in ur guide, just a mistake from myside)

all working fine now.

thx

Guest190829 07-07-2005 10:53 AM

No Problem, I'm glad you found my error in the install script. Thank you for you time in testing the hack! :)


All times are GMT. The time now is 01:31 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.01089 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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