Author |
Message |
GeekyGuy
Client

Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio
|
Posted:
Sat Aug 21, 2004 4:40 am |
|
By golly, it took a while, but I finally figured it out.
In quick_reply.tpl
Delete these linesCode:<p align="center"><b><font color="red" size="2" face="Tahoma" style="cursor:hand" OnClick="expandit(this)">«««« {L_QUICK_REPLY} »»»»</b></p></font>
<span style="display:none" style=&{head};>
| andCode:<input type="hidden" name="sid" value="{quick_reply.SID}">
|
And the box is already open, and it works fine in Firefox
 |
_________________ "The Daytona 500 is ours! We won it, we won it, we won it!", Dale Earnhardt, February 15th, 1998, Daytona 500 |
|
 |
 |
dobbelina
Hangin' Around

Joined: Jul 21, 2004
Posts: 47
|
Posted:
Sat Aug 21, 2004 5:05 am |
|
If you want the quickreply box to show up without clicking(like on this site),
Then follow the instructions from GeekyGuy above.
This is also good to do,cause that clickable quickreply doesn't work in the opera browser.
Dobbelina  |
Last edited by dobbelina on Sat Aug 21, 2004 5:28 am; edited 1 time in total |
|
|
 |
dobbelina

|
Posted:
Sat Aug 21, 2004 5:15 am |
|
oops,sorry,i recant this post |
|
|
|
 |
Muffin
Client

Joined: Apr 10, 2004
Posts: 649
Location: UK
|
Posted:
Sat Aug 21, 2004 6:03 am |
|
lol
thanks all for your time and hard work.
by the time I get to install this it'll be a breeze. |
_________________ Classic Mini rules the bends & bends the rules!
[img] |
|
|
 |
GeekyGuy

|
Posted:
Sat Aug 21, 2004 6:15 am |
|
Muffin, and anyone else interested,
I think GIT-R-DONE and I have this all worked out for ya. Just follow these instructions. And remember to change the scr+pt back to the corrected spelling (3 places)
Quote: | Files To Edit: 5
/modules/Forums/viewtopic.php,
/modules/Forums/language/lang_english/lang_main.php
/themes/Your_Theme/forums/viewtopic_body.tpl
/themes/Your_Theme/forums/overall_header.tpl
quick_reply.tpl
Included Files: quick_reply.php, quick_reply.tpl
-----[ OPEN ]------------------------------------------
modules/Forums/viewtopic.php
-----[ FIND ]------------------------------------------
$template->pparse('body');
include("includes/page_tail.php");
-----[ BEFORE, ADD ]------------------------------------
include($phpbb_root_path . 'quick_reply.'.$phpEx);
-----[ OPEN ]------------------------------------------
modules/Forums/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 ]------------------------------------------
themes/Your_Theme/forums/viewtopic_body.tpl
-----[ FIND ]------------------------------------------
<!-- END postrow -->
-----[ AFTER, ADD ]------------------------------------
<tr align="center">
<td class="row1" colspan="2" >
{QUICKREPLY_OUTPUT}
</td>
</tr>
-----[ OPEN ]------------------------------------------
themes/Your_Theme/forums/overall_header.tpl
-----[ FIND ]------------------------------------------
</head>
-----[ BEFORE, ADD ]------------------------------------
<scr+pt language="Javascr+pt1.2">
<!--
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"
}
//-->
</scr+pt>
-----[ OPEN ]------------------------------------------
quick_reply.tpl
-----[ FIND ]------------------------------------------
<p align="center"><b><font color="red" size="2" face="Tahoma" style="cursor:hand" OnClick="expandit(this)">«««« {L_QUICK_REPLY} »»»»</b></p></font>
<span style="display:none" style=&{head};>
-----[ REPLACE WITH ]------------------------------------------
<!--<p align="center"><b><font color="red" size="2" face="Tahoma" style="cursor:hand" OnClick="expandit(this);">«««« {L_QUICK_REPLY} »»»»</b></p></font>
<span style="display:none" style=&{head};>-->
-----[ SAVE/CLOSE ALL FILES ]--------------------------
|
|
Last edited by GeekyGuy on Sat Aug 21, 2004 11:12 am; edited 1 time in total |
|
|
 |
Muffin

|
Posted:
Sat Aug 21, 2004 10:44 am |
|
thats great GG thanks so much
ermm... one last question
in the example below, where it says
OPEN themes/subSilver/forums/overall_header.tpl
I read that as (themes/Your_Theme/forums/overall_header.tpl) do I? And if you run about 15 different themes on your site you have to do all this to each theme?
[quote]-----[ OPEN ]------------------------------------------
themes/subSilver/forums/overall_header.tpl
-----[ FIND ]------------------------------------------
</head>
-----[ BEFORE, ADD ]------------------------------------
<scr+pt language="Javascr+pt1.2">
<!--
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"
}
//-->
</scr+pt>
[quote]
ok that was 2 questions lol
Sorry if I've given you a headache on this one rofl  |
|
|
|
 |
GeekyGuy

|
Posted:
Sat Aug 21, 2004 11:10 am |
|
Muffin,
Yes, sorry, I forgot to make that change (I'll go back and edit that post). You are correct on both counts. If you have 15 themes, you need to do the edits to each theme. |
|
|
|
 |
SmackDaddy
Involved


Joined: Jun 02, 2004
Posts: 268
Location: Englewood, OH
|
Posted:
Sat Aug 21, 2004 1:45 pm |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Sat Aug 21, 2004 1:56 pm |
|
You guys are all using really involved quick reply hacks.
I don't have any smilies available on my quick reply forms. I figure if you want to do a bunch of smilies just use regular reply or memorize the code.
I use quick reply with quote for forums and private messages and both of them were very easy to install. Only took minutes. If anyone wants the installs for them let me know.
I got one from phpbbhacks.com and the other from portedmods. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
GeekyGuy

|
Posted:
Sat Aug 21, 2004 2:12 pm |
|
Well as much time as I've put in on this mod, I'm not gonna make any more changes on my site at least until... oh, maybe tonight
But I am a lot more impressed with this quick reply mod than any of the others I've used or tried to use
I hope this works as well for everyone else as it does on my site. |
|
|
|
 |
SmackDaddy

|
Posted:
Sat Aug 21, 2004 2:15 pm |
|
If I do use it, I won't be using too many themes....I have a hard enough time keeping up with all the changes of files as it is when I have to do site upgrades.....I don't need much more added to it....almost every time I upgrade, I screw SOMETHING up because I forget a file.....or miss something.....the time before last I overwrote my meta.php but thankfully a site admin had a recent backup (as it was a newly changed file), and this last time, my config.php file had a couple spaces added to the end of it (how, I do not know because I didn't put them there)....but any more modifications and I'd be like --->  |
|
|
|
 |
Muffin

|
Posted:
Sat Aug 21, 2004 2:31 pm |
|
Hey Smackdaddy you're an expert at this and you mess up too? You dont know how much better that makes me feel as a newbie lol no offence meant.
Thanks Geekyguy and everyone else for all your help, seeing as I was the one stirred this one up eeep!
I'm gonna install this tonight now when everyone's in bed so I can take my time and not mess things up, as I counted my themes onsite this afternoon and I have 15, all of which are used by the members!
Geez which I'd stuck with just one them now rofl |
|
|
|
 |
SmackDaddy

|
Posted:
Sat Aug 21, 2004 3:12 pm |
|
Muffin wrote: | Hey Smackdaddy you're an expert at this and you mess up too? You dont know how much better that makes me feel as a newbie lol no offence meant. |
No offense taken at all.....I got a good chuckle out of your use of the word "expert" and my name in the same sentence! LOL
Hope all goes well for you tonight! And remember, you are 5 hours ahead of some of us....I am sure people will be around in case something goes awry!  |
|
|
|
 |
Muffin

|
Posted:
Sat Aug 21, 2004 3:41 pm |
|
ooooooooooh now why doesnt that fill me with confidence rofl
Thanks I'll be back here before you can say Smackdaddy is an expert lol |
|
|
|
 |
dobbelina

|
Posted:
Sat Aug 21, 2004 11:13 pm |
|
Ps. in quick_reply.php on line 111 you can change how many smilies you want
the quickreply box to show.
It's here:
Just a tip from Dobbelina  |
|
|
|
 |
GeekyGuy

|
Posted:
Sun Aug 22, 2004 12:09 am |
|
Muffin, SmackDaddy,
How did the installation go? |
|
|
|
 |
Muffin

|
Posted:
Sun Aug 22, 2004 5:26 am |
|
Miserably.......................sob
After doing all the biz and double checking everything I got this error:
Quote: | Template->make_filename(): Error - file themes/Eos/forums/quick_reply.tpl does not exist |
So goodness knows what I did wrong or if it's just it doesnt like my default theme. I'm using Eos, same as Chat's site.
I put the .tpl in the template folder, and the .php file in modules/forums/
The template folder being modules/Forums/templates/subSilver/
(I put those 2 files in those folders cos that's where Ganga told me where to put them earlier in this thread)
So I've put all the original unedited files back, taken out the .pl and .php file and it's back to normal with no quick reply rofl
Nuke hates me!
ermm thinking about it, shouldn't I have put quick_reply.tpl in themes/Eos/forums/
and not in modules/Forums/templates/subSilver? |
|
|
|
 |
GeekyGuy

|
Posted:
Sun Aug 22, 2004 11:29 am |
|
Muffin,
Yes, quick_reply.tpl should go in themes/Eos/forums. That would be the same for all your themes. |
|
|
|
 |
Muffin

|
Posted:
Sun Aug 22, 2004 3:08 pm |
|
doh! I should have just whipped it out of subsilver and bunged it in there then rofl
Never mind I'll have anuvver go tomorrow when the boards quiet.
Thanks GG
Is yours working ok? |
|
|
|
 |
GeekyGuy

|
Posted:
Sun Aug 22, 2004 3:13 pm |
|
Appears to be working fine. I don't have a lot of activity on my boards yet. But I've posted a few test replies and it performed flawlessly. |
|
|
|
 |
GeekyGuy

|
Posted:
Sun Aug 22, 2004 3:15 pm |
|
Muffin,
Have you seen this Only registered users can see links on this board! Get registered or login! ?? |
|
|
|
 |
Muffin

|
Posted:
Sun Aug 22, 2004 5:09 pm |
|
Yes saw that GG, I posted a photo and an article about it on my site before the Olympic Games started.
Amazing isnt it. |
|
|
|
 |
|