Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: [6.2] Popup Graemlin Panel
sjsaunders #232984 01/19/2003 2:22 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369


Works for me!

Sponsored Links
Re: [6.2] Popup Graemlin Panel
Daine #232985 01/19/2003 2:22 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
OP Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
Cool!

I'll append the zip shortly.

Re: [6.2] Popup Graemlin Panel
sjsaunders #232986 01/19/2003 2:42 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
OP Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
*bump*

Updated with Astaran's javascript changes.

Seems to be working well with Opera 7.0, Netscape 7.0, Mozilla 1.2, IE 6.0 and on a Mac with what ever it was Josh was using...

Re: [6.2] Popup Graemlin Panel
sjsaunders #232987 01/19/2003 4:16 PM
Joined: Aug 2002
Posts: 1,191
Kahuna
Offline
Kahuna
Joined: Aug 2002
Posts: 1,191
It works like a charm.

Thanks Dave, Astaran and all who were involved.

Warm regards

Nikos


Nikos
Re: [6.2] Popup Graemlin Panel
Hal_dup2 #232988 01/19/2003 8:53 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Works on the Mac using IE, Netscape, OmniWeb and Safari (which I think is pretty much Opera). Seems to cover all bases for us mac users.

Thank you.

Sponsored Links
Re: [6.2] Popup Graemlin Panel
sjsaunders #232989 01/25/2003 6:11 PM
Joined: Aug 2002
Posts: 239
Member
Offline
Member
Joined: Aug 2002
Posts: 239
Finally installed this one with 6.2.1 Dave..... It's GREAT!!!!! Dunno why this one isn't standard but THANKS man!!


Some people read their stars..... I choose to write my own
Re: [6.2] Popup Graemlin Panel
sjsaunders #232990 02/01/2003 9:32 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Offline
Junior Member
Joined: Feb 2001
Posts: 2,268
Installed, and the table in the popup window draws with my graphics wrapper and no errors

Excellent work Dave!

Re: [6.2] Popup Graemlin Panel
Daine #232991 02/08/2003 9:18 AM
Joined: Jan 2002
Posts: 674
Junior Member
Offline
Junior Member
Joined: Jan 2002
Posts: 674
got it working on my site... thanks

Re: [6.2] Popup Graemlin Panel
Kelly #232992 02/08/2003 10:47 AM
Joined: Jan 2001
Posts: 374
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
Works great!!!!!! - Thank you

(Maybe a close button for that popup window would be a nice extra?)

Re: [6.2] Popup Graemlin Panel
rodrigo1 #232993 02/08/2003 11:41 PM
Joined: Mar 2002
Posts: 305
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
[](Maybe a close button for that popup window would be a nice extra?)
[/]

In graemlinpanel.php find:

Code
<br />$graemlinpanel<br />$tbclose<br /><br /><br /></body><br /></html><br />


Change to:

Code
<br />$graemlinpanel<br />$tbclose<br /><br><div align="center"><br /><input type="button" value="{$ubbt_lang['CLOSE_WINDOW']}" onClick="self.close()" class="buttons"><br /></div><br /><br /></body><br /></html><br />


Then add this:

Code
$ubbt_lang['CLOSE_WINDOW'] = "Close Window";


to your instant_markup.php language files.


[:"red"]Lisa[/]
Sponsored Links
Re: [6.2] Popup Graemlin Panel
rodrigo1 #232994 02/09/2003 12:11 AM
Joined: Mar 2002
Posts: 305
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
Of course you could use just a link as well

<br><div align="center"><a href="javascript:self.close();" class="tdheader">{$ubbt_lang['CLOSE_WINDOW']}</a></div>


[:"red"]Lisa[/]
Re: [6.2] Popup Graemlin Panel
JacquiL #232995 02/11/2003 12:02 PM
Joined: Jan 2001
Posts: 374
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
Many thanks, Lisa, for this little but nice add-on
to that extemely cool hack.

Whow, what a great thing for my users.

Re: [6.2] Popup Graemlin Panel
rodrigo1 #232996 02/11/2003 10:00 PM
Joined: Jan 2002
Posts: 674
Junior Member
Offline
Junior Member
Joined: Jan 2002
Posts: 674
Thanks lisa nice addition

Re: [6.2] Popup Graemlin Panel
JacquiL #232997 02/26/2003 2:23 PM
Joined: Apr 2002
Posts: 15
Newbie
Offline
Newbie
Joined: Apr 2002
Posts: 15
Hi ,

Thanks for the great hack...am running 6.2.2...I did everything I could not test it..coz the link wont appear near the grems...

Help

Thanks

Re: [6.2] Popup Graemlin Panel
dude_demon #232998 03/04/2003 9:23 AM
Joined: Oct 2001
Posts: 157
Member
Offline
Member
Joined: Oct 2001
Posts: 157
A silly question -- is this one of those hacks which will work with 6.1.x too?


Yors Truly

Who? Me? Worry?
Re: [6.2] Popup Graemlin Panel
dude_demon #232999 03/04/2003 1:22 PM
Joined: Feb 2001
Posts: 2,268
Junior Member
Offline
Junior Member
Joined: Feb 2001
Posts: 2,268
How many Graemlins do you have, and how many are you allowing to display before the Graemlin panel link appears (you can set it in the theme section of the admin menu)?

If you set the number of Graemlins to display to be equal to or higher than the number of Graemlins that you have the link will not show...

Re: [6.2] Popup Graemlin Panel
jacksonm99 #233000 03/14/2003 6:35 AM
Joined: Apr 2002
Posts: 15
Newbie
Offline
Newbie
Joined: Apr 2002
Posts: 15
[]Dalantech said:
How many Graemlins do you have, and how many are you allowing to display before the Graemlin panel link appears (you can set it in the theme section of the admin menu)?

If you set the number of Graemlins to display to be equal to or higher than the number of Graemlins that you have the link will not show... [/]

Thank you for answering....how can I set the number of Greamlins?

Thanks

Re: [6.2] Popup Graemlin Panel
dude_demon #233001 03/14/2003 10:13 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Offline
Junior Member
Joined: Feb 2001
Posts: 2,268
You can set it in the theme section of the admin menu if you did everything for the hack.

Re: [6.2] Popup Graemlin Panel
jacksonm99 #233002 03/15/2003 11:08 AM
Joined: Apr 2002
Posts: 15
Newbie
Offline
Newbie
Joined: Apr 2002
Posts: 15
Thanks for answering I'll try it and come back to you...is it gonna work on 6.3 ?

Re: [6.2] Popup Graemlin Panel
dude_demon #233003 03/15/2003 11:18 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Offline
Junior Member
Joined: Feb 2001
Posts: 2,268
As far as I know. I haven't seen any major changes in 6.3 that would break the hacks here, and some of the hacks on this site will be in 6.3

Re: [6.2] Popup Graemlin Panel
jacksonm99 #233004 03/18/2003 4:52 PM
Joined: Jan 2002
Posts: 674
Junior Member
Offline
Junior Member
Joined: Jan 2002
Posts: 674
My panel animated gifs stop animating when I click on one. Is there a way to keep the working after I click? Other than refreshing?

Re: [6.2] Popup Graemlin Panel
Kelly #233005 03/18/2003 4:59 PM
Joined: Aug 2002
Posts: 1,191
Kahuna
Offline
Kahuna
Joined: Aug 2002
Posts: 1,191
Marty,

This happens to mine as well. I think that the java script that puts the code for the animated graemlin to the text box interferes with the gifs animating. This was still an issue for me when the panel was not installed and the graemlins were below the text box.


Nikos
Re: [6.2] Popup Graemlin Panel
Hal_dup2 #233006 03/18/2003 7:56 PM
Joined: Jan 2002
Posts: 674
Junior Member
Offline
Junior Member
Joined: Jan 2002
Posts: 674
Nikos thats from refreshing my memory and it was a problem then for me as prior to the panel.

Re: [6.2] Popup Graemlin Panel
sjsaunders #233007 04/07/2003 2:11 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Updated this for JustDave (I know he won't mind ).

Fixed a minor issue where "More>>>" appeared way down the page.... the more greamlins you had, the further down it appeared from the graemlins.

Also added some documentation to the instructions.


Re: [6.2] Popup Graemlin Panel
Kelly #233008 04/09/2003 11:10 PM
Joined: Mar 2002
Posts: 305
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
[]Smilesforu said:
My panel animated gifs stop animating when I click on one. Is there a way to keep the working after I click? Other than refreshing? [/]

You can change 1 line in graemlinpanel.php and fix this.

Find this:
Code
<a href="[:"red"]javascript:void(0)[/]" onclick="updatePost(' $graemlincode')">


and change it to:
Code
<a href="[:"red"]#[/]" onclick="updatePost(' $graemlincode')">


That should keep your laughs laughing and your bananas dancing.

Last edited by Lisa_P; 04/10/2003 1:03 AM.

[:"red"]Lisa[/]
Re: [6.2] Popup Graemlin Panel
JacquiL #233009 04/10/2003 12:00 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Offline
Junior Member
Joined: Feb 2001
Posts: 2,268
Hey Lisa,
I tried your change and all I got was a blank Graemlin Panle (nothing on the page)

Re: [6.2] Popup Graemlin Panel
jacksonm99 #233010 04/10/2003 12:50 AM
Joined: Mar 2002
Posts: 305
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
Let me look and see if I have other changes made as well.


[:"red"]Lisa[/]
Re: [6.2] Popup Graemlin Panel
jacksonm99 #233011 04/10/2003 1:10 AM
Joined: Mar 2002
Posts: 305
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
Other than not typing the file name correctly (it should be graemlinpanel.php obviously), everything else looks the same. (I do have the "Close window" button added, but it doesn't affect anything when I remove it either.)

I'll attach a copy of my graemlinpanel.php file.

Attached Files
75194-lisa\'s_graemlinpanel.txt (0 Bytes, 58 downloads)
Last edited by Lisa_P; 04/10/2003 1:25 AM.

[:"red"]Lisa[/]
Re: [6.2] Popup Graemlin Panel
JacquiL #233012 04/10/2003 3:28 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Offline
Junior Member
Joined: Feb 2001
Posts: 2,268
You're file worked like a champ! All I had to do was take out the script for the close button (I never added it).

I have another question for you since you know java infinately better than I do. Attached is a screen shot of my Graemlin panel. Notice how the word "instant Graemlins" is indented down a line, almost like there is a br or paragraph tag dropping it down. I've been driving myself crazy trying to figure out why the text drops down a line, but I don't see what's causing it. There's nothing in the language file that would do it, and I don't see anything in the graemlinpanel.php file that could cause it

Attached Files
75195-graemlin.gif (0 Bytes, 63 downloads)
Re: [6.2] Popup Graemlin Panel
JacquiL #233013 04/21/2003 6:29 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
OP Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
I believe the reason behind not using the # character in the hyper link was because the Mac browser(s)? IE in particular??? wouldn't work. (or I could be completely wrong... lol) (not a first time either) LoL

Re: [6.2] Popup Graemlin Panel
sjsaunders #233014 04/22/2003 2:11 PM
Joined: Apr 2003
Posts: 15
Newbie
Offline
Newbie
Joined: Apr 2003
Posts: 15
I installed it, and then when I went to edit the number in the admin panel, I got this:

Fatal error: Call to undefined function: get_input() in /home/elazulsp/public_html/ep/admin/doedittheme.php on line 39

My doedittheme.php code looks like this:

$themeextras = str_replace("<br>","\n",$themeextras);

and the setup tells me to replace this:

$themeextras = get_input("themeextras","post");

with this:

$themeextras = get_input("themeextras","post");
$max_graemlins = get_input("max_graemlins","post");

Re: [6.2] Popup Graemlin Panel
nuno #233015 04/22/2003 2:32 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
OP Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
Your probably installing this on an older version that does not have the get_input function. Try removing the get_input line and see if it works without it.

Re: [6.2] Popup Graemlin Panel
sjsaunders #233016 04/22/2003 2:37 PM
Joined: Apr 2003
Posts: 15
Newbie
Offline
Newbie
Joined: Apr 2003
Posts: 15
$themeextras = str_replace("<br>","\n",$themeextras);
// $max_graemlins = get_input("max_graemlins","post");

I commented out the $max_graemlins line and left the $themeextras line the old way.

Doesn't work.

Re: [6.2] Popup Graemlin Panel
nuno #233017 04/23/2003 8:09 PM
Joined: Apr 2003
Posts: 16
Newbie
Offline
Newbie
Joined: Apr 2003
Posts: 16
I installed on ubbthreads 6.2.3 as instructed and if I change my Max Graemlins to any number it still displays all the graemlins in the post page.
If I leave the Max Gramlins in admin blank. it takes out all graemlins and displays the more>>> popup link..

any clues?

Daniel Fielden


Daniel Fielden
Re: [6.2] Popup Graemlin Panel
#233018 04/23/2003 8:15 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
A couple things I'd check.

I'd manually check your theme.inc.php file to see if you see the variable name and number stored in there.... make sure it's getting written to the file.

If all there is OK, then the problem is most likly with the modifications to ubbt.inc.php... most specifically the loop that lists them. I'd verify those steps were correct, maybe even start with a clean ubbt.inc.php and try it again, to narrow down the problem.

Re: [6.2] Popup Graemlin Panel
Daine #233019 04/24/2003 8:02 PM
Joined: Apr 2003
Posts: 16
Newbie
Offline
Newbie
Joined: Apr 2003
Posts: 16
I checked what you said to check, yes the variable name and number were in there.

I then went back to original files, and did the modifications from scratch..

even took out panelgen because it doesn't work for me either.

anyway.. without panelgen now I get this error..

Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/home/southernsecrets/htdocs/ubbthreads/ubbt.inc.php on line 1669

Fatal error: Call to undefined function: getmicrotime() in /usr/home/southernsecrets/htdocs/ubbthreads/main.inc.php on line 16

I'm going back to all original files..
Hope you can help me with this..
This seems too easy to install to have these problems..

Daniel Fielden


Daniel Fielden
Re: [6.2] Popup Graemlin Panel
#233020 05/12/2003 4:38 PM
Joined: Aug 2002
Posts: 239
Member
Offline
Member
Joined: Aug 2002
Posts: 239
Has anyone attempted to modify this so it works with 6.3? I have tried unsuccessfully for 2 days... It works just fine... However it caused a problem in showflat.php when you're viewing new messages. It won't hop to the new message but only to the beginning of the thread. I miss this big time....


Some people read their stars..... I choose to write my own
Re: [6.2] Popup Graemlin Panel
#233021 05/16/2003 11:07 AM
Joined: Aug 2002
Posts: 239
Member
Offline
Member
Joined: Aug 2002
Posts: 239
Any clues what would cause the not going to the new message?? Gimme a clue and I'll try and fix it for us... Just remember.... try being the keyword....


Some people read their stars..... I choose to write my own
Re: [6.2] Popup Graemlin Panel
#233022 05/16/2003 11:15 AM
Joined: Dec 2000
Posts: 1,471
Addict
Offline
Addict
Joined: Dec 2000
Posts: 1,471
This hack doesn't modify the showflat.php, so i doubt that this hack is the cause for your problem.

Re: [6.2] Popup Graemlin Panel
-Fusion- #233023 05/16/2003 3:02 PM
Joined: Aug 2002
Posts: 239
Member
Offline
Member
Joined: Aug 2002
Posts: 239
Thanks Astaran... I hadn't tried it since upgrading to 6.3b4 but who knows... Maybe I had something else in there too. Oh well... It's working under 6.3...


Some people read their stars..... I choose to write my own
Page 2 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
jgeoff
jgeoff
NJ
Posts: 96
Joined: April 2001
Forum Statistics
Forums63
Topics37,529
Posts293,721
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 130
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 28
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,795
Greg Hard 4,625
Top Posters(30 Days)
isaac 3
Top Likes Received
isaac 33
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200228.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.106s Queries: 98 (0.053s) Memory: 3.6433 MB (Peak: 4.0883 MB) Data Comp: Zlib Server Time: 2020-02-29 07:28:03 UTC
Valid HTML 5 and Valid CSS