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)

Vivi Ornitier 03-21-2002 08:54 PM

Ok... I added the bit that made closed forums closed even with the quick reply... I got a parse error... I could not find the code that was posted in the reply... so i found one that was very similar (I couldn't see a diff) that code was

Code:

if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
        $replybox='';
} elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
        $replybox='';
} elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
        $replybox='';
} else {
        $textareacols = gettextareawidth();
        eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}
{

I edited that with the code I was asked to edit... Could someone please help me?

The Keeper 03-23-2002 02:12 AM

is this hack compatible with 2.2.4?

E 03-23-2002 03:27 AM

^^yes very much so

c-pr0mpt 03-23-2002 08:56 AM

Quote:

Originally posted by nakkid in regards to smaaash.com forums
who designed your layout? is nice.. ;)
I did. :)


Also, for this hack how would I add a rating option? Thanks for any help.

c-pr0mpt 03-23-2002 09:14 AM

err, ignore that. I got it.

DeeperImage 03-23-2002 11:52 AM

Oh man this is schweeet.. Worked like a dream.. thanks.

Dalius 03-23-2002 06:20 PM

Quote:

Originally posted by FireFly
JTMON - Add this line:
Code:

        $clickysmilies = getclickysmilies();
to showthread.php right after this:
Code:

        $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:
Code:

<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. :)

Wow this is even handier than I thought... :D

Can I get a SS of what this would look like, anyone who has it?

PeterNRG 03-23-2002 09:42 PM

It would be very cool to implement the RATING dropdownbox in this hack (next to the submit reply button), cause people will more easely & QUICKly rate a thread while they are replying. It also eliminates a page to be refreshed when you rate & quick reply at the same time.

I know the RATE THIS THREAD has been implemented on the normal POST REPLY page for the same reason, but people won't rate anymore if they use the quick reply box.

Of course the 'normal' rate dropdownbox + go button would have to disappear on pages with a quick reply field.

What do you think?

Jawelin 03-26-2002 02:24 PM

Quote:

Originally posted by Craig Antill
Any way that I can allow users to subscribe to the topic with the quick reply ? Ideally by way of a hidden field which simply subscribes the user if they have set their options to subscribe by default...?

Where such a setting could be retrieved in showthread ?
I'm very interested in this feature... me too: automatically subscribe without checkbox if the userCP says so...
:D

DFX 03-27-2002 06:11 AM

Hey Firefly, I installed this hack awhile ago and then all of a sudden it stops working for alot of my members and even myself. It still works, only on certain threads and only for certain users, it's all messed up. This is the email I recieved right before it went "wacky"

Database error in vBulletin 2.2.2:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
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 IN (0,45327,45328)
ORDER BY dateline

mysql error: Got error 28 from table handler

mysql error number: 1030

Any help in fixing this would be great because my members and myself love this hack.

I've already tried running the repair script from my admin directory with the default 2 options it gives you on the repair.php page also to no avail.


All times are GMT. The time now is 12:38 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.01597 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (3)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