Quick Reply Mod

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Quick Reply Mod
kingy
CZ Super Newbie
kingy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: May 12, 2004
0.00 posts per day
Posts: 33
Points: 3,286
   
I've installed the Advanced Quick Reply mod on my site which was fairly simple and have install loads of mods before.

I have a problem tho when I click Quick Reply I get "Runtime Error" - "Object Expected" on Line 941.

I think this is a js error but has anyone seen this b4?

Thanks in advance.



Back to top Reply with quote
#2   re: Quick Reply Mod
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Does the quick reply open when you click it?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
ok i got a question for you.
I installed the same mod but mine is open all the time how do i get it to close so you have to click it.

here is the one i put in you will have to let me know what file you need if you need any.

#################################################################
## Mod Title: Advanced Quick Reply Mod
## Mod Author: RustyDragon <dev@RustyDragon.com>  http://www.phpbbhacks.com
## Mod Version: 1.1.1
## Mod Description: This will allow users to use quick reply form
##      which is placed below every topic.
##      It will only display when user has the Reply access
##      User have a option to quote the last message.
##      A list of 24 smilies is shown below input area.
##      Users can paste names of users just by clicking on it.
##      Also they can select any text on a page and quote it to the input area.
##
##      Last 3 options were absent in Quick Reply Mod with Quote on which
##      this mod is based.
##      Additional feature - uses of template for quick reply form.
##      So you can change a look of the mod to whatever you want.
##
## Installation Level: Very Easy
## Installation Time: 4 Minutes
##
## Files To Edit: 3
##   viewtopic.php,
##   language/lang_english/lang_main.php
##   templates/subSilver/viewtopic_body.tpl
##
## Included Files: quick_reply.php, quick_reply.tpl
#################################################################
##
## Author Note:
##  If you want to have different number of smilies displayed find a line
##  $max_smilies = 30;
##  in a file quick_reply.php and replace 30 with whatever you want. Setting this variable to zero
##  will disable  smilies row.
##
##  This MOD is based on Quick Reply Mod with Quote from Smartor <smartor_xp@hotmail.com>
## 
##  This mod will increase the size of your topic page by approx 7kb
##  and execute one additional (but simple) SQL query for every page load.
##
##   The Quick-Quote Feature was an idea from Nexialys (www.bebeabord.org)
##
##   You should change all your templates and language pack
##
##  Advanced Quick Reply Mod is Copyright © RustyDragon, 2002
##
##   Quick Reply Mod with Quote is Copyright © Smartor, 2002
##   updated to support phpbb 2.0.4 by danb00
##   
##   (Any changes to this MOD must retain these Copyright Notices)

#
#-----[ COPY ]------------------------------------------
#
copy quick_reply.php to /
copy quick_reply.tpl to templates/subSilver

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

#
#-----[ BEFORE, ADD ]------------------------------------
#
include($phpbb_root_path . 'quick_reply.'.$phpEx);

#
#-----[ OPEN ]------------------------------------------
#
lang/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
//
// That's all Folks!

#
#-----[ BEFORE, ADD ]------------------------------------
#
// Advanced Quick Reply Mod
$lang['Quick_Reply'] = 'Quick Reply';
$lang['Quick_quote'] = 'Quote the last message';
$lang['QuoteSelelected'] = 'Quote selected';
$lang['QuoteSelelectedEmpty'] = 'Select a text anywhere on a page and try again';
$lang['Quick_Reply_smilies'] = 'all';

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_NAME}

#
#-----[ REPLACE WITH ]------------------------------------
#
<a href="javascript:emoticon('[b]{postrow.POSTER_NAME}[/b], ')">{postrow.POSTER_NAME}</a>

#
#-----[ FIND ]------------------------------------------
#
<!-- END postrow -->

#
#-----[ AFTER, ADD ]------------------------------------
#
   <tr align="center">
      <td class="row1" colspan="2" >
      {QUICKREPLY_OUTPUT}
      </td>
   </tr>


#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
#EoM




_________________
Back to top Reply with quote
#4   re: Quick Reply Mod
kingy
CZ Super Newbie
kingy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: May 12, 2004
0.00 posts per day
Posts: 33
Points: 3,286
   
You have installed the quick reply mod.

I am talking about the advanced quick reply mod, sorry I should have said that.



Back to top Reply with quote
#5   re: Quick Reply Mod
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 

var ns6=document.getElementById&&!document.all?1:0

var head="display:''"
var folder=''

function expandit(curobj){
folder=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style
if (folder.display=="none")
folder.display=""
else
folder.display="none"
}



Place this code in the overall_header.tpl
You will see functions similar to this at the top of the page, place it there. Thats what worked for me.


Back to top Reply with quote
#6   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
this is the Advanced Quick Reply Mod that i have put it in but it stays open all the time i want it so that it is in a bar of it's own so they have to click it to open it to use it.




_________________
Back to top Reply with quote
#7   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
Search in the tpl files for "expandit" that is what makes it expand and collaspe. If its not there you probably have the wrong file.



Back to top Reply with quote
#8   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
ok can you tell me where you got yours from because mine don't have that in it anywhere




_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum