|
Joined: Aug 2002
Posts: 239
Member
|
Member
Joined: Aug 2002
Posts: 239 |
Oh man, I can't get them both to work at the same time.... *L* Thinking I'm gonna give up until someone comes up with something or 6.2 comes out...... Hiding from my users 'til then....hehe
Some people read their stars..... I choose to write my own
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
What can't you get to work together? The graemlin panel and the Quick Reply? Install the graemlin panel first... then do quick reply.... but don't bother to upload the graemlinpanel.php scrip...as it's already there.
|
|
|
|
Joined: Aug 2002
Posts: 239
Member
|
Member
Joined: Aug 2002
Posts: 239 |
Hey Josh...... It's the Reply to Who and Quick Reply conflicting I think.... I have quick reply in now .....
Some people read their stars..... I choose to write my own
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Updated the instructions to include GERMAN language file additions - thanks jluerken.
|
|
|
|
Joined: Aug 2002
Posts: 218
Member
|
Member
Joined: Aug 2002
Posts: 218 |
no prob Josh,
If someone else is working on a hack which maybe needs a translation into german simply mail me!
|
|
|
|
Joined: Jan 2002
Posts: 674
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 674 |
Josh I am getting a runtime error trying to run this one with the popup greamlin panel. Error Line 8 Doesn't support this property or method Everything else seems ok for now.. Greamlin box works perfect if you continue on with post. Just the quick reply. Also in the instructions I see us modifying a file but it doesn't happen (/languages/showthreaded.php) But in the list of alter files generic.php is altered but it wasn't listed up top. Should I have edited the showthreaded instead of the generic? This looks like a winner once I get rid of that bug <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br /><html> <br /><head> <br /><title>Graemlin Panel</title> <br /><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <br /><link rel="stylesheet" href="/ubbthreads/stylesheets/test.css" type="text/css" /> <br /><script language="JavaScript" type="text/JavaScript"> <br />function updatePost(GraemlinCode) { <br />window.opener.DoPopupSmilie(GraemlinCode); <br />}
Last edited by Smilesforu; 02/14/2003 4:18 AM.
|
|
|
|
Joined: Jan 2002
Posts: 674
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 674 |
Looks like it was the extra modification I added with lisas code. I uploaded the panel you supplied and it worked fine. Thanks great for another great add on!!
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Ah good. You fixed it before I had a chance to look at it. Glad it works for you. Although I didn't create it. It's originally Allen's and Gardener's work. I just updated/tweaked a bit, again basing all greatness on JustDave's work. LOL I'm good at riding on coattails.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
fixed code in original post?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
huh ?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
We are running version 3.0 here at threadsdev now.
|
|
|
|
Joined: Jan 2002
Posts: 674
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 674 |
Table wrappers? I just installed table wrappers and I see the quick reply doesn't have them. I know I had to use extra code with the reply to who that conflicted with this hack. (both working now) Perhaps that got modified during the change or not accounted for?
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Josh Do you know if this mod creates any extra bandwidth?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Quick Reply typically saves some... because people don't need to load another page to reply... they don't need to load all the greaemlins and post icons etc.... I've learned most people use it for replies, unless they are composing something lengthy... So often you are saving a page load per reply, plus all those images. It's faster and uses less bandwidth.
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Sounds like my next hack.
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
OK, Looks like I don't have this in showflat.php because I did the "reply to who" hack, what do I need to do?
## Find this: ##
if ($ParentPost) { $postrow[$i]['Subject'] = "<a href="{$config['phpurl']}/showthreaded.php?Cat=$Cat&Board=$Board&Number=$ParentPost&page=$page&view=$view&sb=$sb&o=$o&vc=1" target="_new" title="{$ubbt_lang['RESPONSE_TO']}$ParentPost" alt="{$ubbt_lang['RESPONSE_TO']}$ParentPost">$Subject</a>"; }
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
If you are running the "Reply to Who" mod..... you won't be able to find that one bit in showflat.php Instead, look for this: $postrow[$i]['Subject'] = $Subject; Change to this: $postrow[$i]['Subject'] = "<span id="subject$i">$Subject</span>";
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Josh The line: $postrow[$i]['Subject'] = $Subject; appears twice, is it the last one?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Correct! I'll add clarification instructions to my first post, as these two hacks together are common....but confuse people.
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Hmmm, I'm getting funky code at the top of every page like this: $ubbt_lang['QUICK_REPLY'] = "Quick Reply:"; $ubbt_lang['POST_ICON'] = "Post Icon:"; $ubbt_lang['PREVIEW_REPLY'] = "Preview Reply"; $ubbt_lang['USE_GRAEMLINS'] = "Use Graemlins"; $ubbt_lang['SPELL_CHECK'] = "Check Spelling"; Any ideas?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
When you put those strings in the language file.... They need to be just ABOVE the PHP closing tag ?> or else it'll output them as text. Check your language file modifications and make sure each string is within the PHP tags <? and ?>
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
That's what I get for doing this when I'm a sleep, I read it as <? (I thought that was odd) Thanks again. When I click on "Use Graemlins" nothing happens, is that another add-on hack?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
You need to upload that included graemlin popup script to your threads directory.
That's part of the popup graemlin hack.. but I included it in this zip as well... so that you should have everything you need.
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
You just upload both to the main threads dir right?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Then if the popup isn't opening..... a) you might have popup stopper software installed or you missed or made a mistake with the instructions to the templates. That's where the javascript is to pop open the new window. If it works for you here when you click, then I would recheck your instructions. Similar to the problem to the language files.... some of those instructions are "BELOW" or "ABOVE" this ADD this and not replace. I've made the same mistake myself every once in a while, so used to finding this and replacing.... but some instructions in there call for you to find this and add something either below or above. I bet that's the problem. I did that just 2 nights ago.
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
I was afraid of that.
|
|
|
|
Joined: Jul 2001
Posts: 442
Enthusiast
|
Enthusiast
Joined: Jul 2001
Posts: 442 |
Weird, the "Use Graemlins" popup works in threaded view but not in flat mode and the "quick reply" links do not work on threaded or flat.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
All those are Javascript related. I'd check your showflat.tmpl and showthreaded.tmpl files again. Might want to start fresh with find and replace.
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
Um... what am I doing wrong? I've downloaded the zip file twice and both times, the install text file is corrupt. Help? Please?
|
|
|
|
Joined: Aug 2002
Posts: 239
Member
|
Member
Joined: Aug 2002
Posts: 239 |
I just d/l it again and it seems fine on my end. What text editor are you using to view it?
Some people read their stars..... I choose to write my own
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
Ok.... I just used noted and it's ok. In notepad, it looked like i had downloaded it in binary.
|
|
|
|
Joined: Aug 2002
Posts: 239
Member
|
Member
Joined: Aug 2002
Posts: 239 |
Ok cool.... I use Ultra Edit here.... Glad it's working.....
Some people read their stars..... I choose to write my own
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
Oh Man! This is SWEET! Thanks guys! AWESOME mod!
|
|
|
|
Joined: Jan 2003
Posts: 141
Journeyman
|
Journeyman
Joined: Jan 2003
Posts: 141 |
I just finished this mod and I had the previous version so it took me a couple of hours. Everything works really well except for 1 thing. When I click on the "use Graemlins" the box pops up but it doesn't put the graemlins in the post. I can see them in the pop up box and click on them but it doesn't put them there. Does anyone have an idea where to start looking so I don't have to completely redo the mod?
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
See if it behaves that way for both showflat and showthreaded.
It's most likely the javascrpt at the top of showflat.tmpl or showthreaded.tmpl
But checking if it works in one and not the other may help narrow it down.
|
|
|
|
Joined: Jan 2003
Posts: 141
Journeyman
|
Journeyman
Joined: Jan 2003
Posts: 141 |
Thanks for the quick reply (excuse the pun ). It doesn't work in either one. It does the exact same thing.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Hmm..... Then I'm not really sure. Javascript really isn't my thing. (I didn't create that part). Maybe JustDave, Gardener or a javascript guru will have an idea.
|
|
|
|
Joined: Jan 2003
Posts: 141
Journeyman
|
Journeyman
Joined: Jan 2003
Posts: 141 |
Thanks, I am trying to learn this and since it looks like it is supposed to then it's not in the template mods, am I correct in thinking this?
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
Just a guess, is the name of the reply form correct?
Could you give me a link to where it is, seeing the javascript error when clicking on the graemlin would surely help a lot.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|