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)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

Boofo 07-26-2002 09:13 PM

Yes. Take the 5 lines above it to the 5 lines below the error and post all of those.

Quote:

Originally posted by Kiraly


line? how can i see this line? in the notepad?


Kiraly 07-27-2002 08:05 AM

$post=$DB_site->query_first("
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
".iif($avatarenabled,",avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline","")."
FROM post
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')."
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
".iif ($avatarenabled,"LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid","")."
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid = '$postid'
");

if (!$getperms['cangetattachment']) {
$viewattachedimages=0;
}

$postbits = getpostbit($post);

updateuserforum($thread['forumid']);

eval("dooutput(\"".gettemplate("showpost")."\");") ;
exit;
}

Boofo 07-27-2002 08:20 AM

Which line is the line with the error in it (line 94, I think)?

Kiraly 07-27-2002 08:29 AM

LEFT JOIN customavatar ON customavatar.userid=user.userid","")."

Boofo 07-27-2002 08:35 AM

Try changing this:

PHP Code:

eval("dooutput(\"".gettemplate("showpost")."\");");
exit;


to this:

PHP Code:

eval("dooutput(\"".gettemplate("showpost")."\");");
exit; 

and let me know if it works. If it doesn't, make sure you put the code back as it was and we will go from there. :)

Boofo 07-27-2002 08:37 AM

You need to delete this message. You can't post your php files for download. :) This is according to the vBulletin licensing agreement.

Quote:

Originally posted by Kiraly
this in php file

thx :)


Kiraly 07-27-2002 09:57 AM

Quote:

Originally posted by Boofo
You need to delete this message. You can't post your php files for download. :) This is according to the vBulletin licensing agreement.


sorry :cry:

Kiraly 07-27-2002 10:07 AM

i resolve the problem but the quick reply don't appear :(

Kiraly 07-27-2002 11:21 AM

Quote:

Originally posted by Kiraly
i resolve the problem but the quick reply don't appear :(
ok Quick reply go ON ;)

Heineken77 07-27-2002 04:09 PM

How can I set it that when you use the quick reply box, people are automatically subscribed to the thread and receive email notification when there is a reply? :)


All times are GMT. The time now is 02:49 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.02047 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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