![]() |
Yes. Take the 5 lines above it to the 5 lines below the error and post all of those.
Quote:
|
$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; } |
Which line is the line with the error in it (line 94, I think)?
|
LEFT JOIN customavatar ON customavatar.userid=user.userid","")."
|
Try changing this:
PHP Code:
PHP Code:
|
You need to delete this message. You can't post your php files for download. :) This is according to the vBulletin licensing agreement.
Quote:
|
Quote:
|
i resolve the problem but the quick reply don't appear :(
|
Quote:
|
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? :)
|
Hey Heineken, now I am sure if the members turn that off in there options, there must be a reason for it, you really shouldn't go forcing that.
If they have it on, it automaticaly gets subscribed anyways. Drk |
How did you resolve it?
Quote:
|
Hey DrkFusion :)
Thanks for the reply, but are you sure that if we have it picked to notify by email to reply it automatically subscribes us when we reply through the quick reply box? I have email notification enabled, however whenever I use the quick reply box, I never get subscribed :( Thanks for the reply :) Heineken |
Well, I remember that FireFly said that the reply box does use the newreply.php and well it should work.
Drk |
Doh! well i'll try reinstalling it and see if that changes:)
thanks again. |
Sorry, buddy, I have to call you on this one. It will not use the email check in newreply. I had to add an external one to do it for the Quick Reply box. :)
Quote:
|
Hey Boofo :) Think you could explain to me how to do that? :D
|
Quote:
Drk |
Here is a simpler way to do it than I did it. :)
1- in showthread.php (in hacks code), find: PHP Code:
PHP Code:
2- edit template showthread_replybox, find: PHP Code:
PHP Code:
Quote:
|
Yes, but they won't get a notification email about the new message to the thread if it is made with the Quick reply Box unless you add some code to it to check for email notification. :)
Quote:
|
Ah I see, thanks didn't know that
Drk |
No problem. I didn't know either. I found out the hard way. :)
|
thx Boofo! ;)
|
My pleasure. Enjoy! ;)
|
How do I add a Attatchement field?
Drk |
Put this:
PHP Code:
PHP Code:
Quote:
|
Thanks man
Drk |
Drk have you screeshots of this hack?
|
Quote:
I took the 'showthread_quickreply' template for the 'showthread_replybox' template, dont think that's anything to do with it though. I know this subject is old but I need an answer for this please......ta. :ermm: |
Sorry to bring this up again but I still need help, I dont like clogging up email or PM inboxes asking for help so i'll ask again here. I have been working on this now for 2 days with another person and we still cannot get the clickable smilies to show up in the quickreply box, I really dont know what we are doing wrong.
We are using the exact same template as described in the hack txt file with the small adjustment highlighted earlier in this thread, alas it does not work. If somebody can please help I would be grateful, would be even better help if somebody could post a modified showthread_replybox template with the changes implemented to enable the clickable smilies. If it helps we are running 2.2.6 if that makes any difference to what needs to be added to the showthread_replybox template. Thanks. :dead: |
To add smilies to the quick reply box:
Add this line: $clickysmilies = getclickysmilies(); to showthread.php right after this: $textareacols = gettextareawidth(); then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines: <script language="Javascript" src="vbcode.js"></script> <script language="Javascript" src="vbcode_language.js"></script> to the template right after the <form> tag. That should work. |
Cheers Boofo, you have just saved me another load of greif.:D
Top man. :bored: :cheeky: :) |
Glad I could help. Enjoy. ;)
|
hey can some1 help on this. i installed it almost perfect. the problem is that the reply box it at the top of the thread instead at the bottom. how can i fix that?
reply asap |
Reply ASAP? What is that?
You need to put the code after the second instance in the showthread template. Quote:
|
asap = as soon as possible.
thanx a lot. it worked. |
I knew what it meant. I was just giving you a hard time. :)
Glad I could help. Enjoy! ;) Quote:
|
I have install a fresh VB2.2.6 and i follow exactly the instructions for this Hack but i cant see the replybox !!!
Any Idears ???? Bommelchen |
Quote:
|
Im realy sure that i have upload the files !! I have checked today but i see nothing !
Whats happend here ? Bommelchen |
All times are GMT. The time now is 08:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|