Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369


Works for me!

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Cool!

I'll append the zip shortly.

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
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...

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
It works like a charm.

Thanks Dave, Astaran and all who were involved.

Warm regards

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
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
Joined: Aug 2002
Posts: 239
Member
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
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
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!

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
got it working on my site... thanks

Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
Works great!!!!!! - Thank you

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

Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
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
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
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[/]
Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
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.

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Thanks lisa nice addition

Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
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

Joined: Oct 2001
Posts: 157
Member
Member
Offline
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?
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
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...

Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
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

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
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.

Joined: Apr 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Apr 2002
Posts: 15
Thanks for answering I'll try it and come back to you...is it gonna work on 6.3 ?

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
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

Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
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?

Joined: Aug 2002
Posts: 1,191
Kahuna
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
Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Nikos thats from refreshing my memory and it was a problem then for me as prior to the panel.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
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.


Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
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 2:03 AM.

[:"red"]Lisa[/]
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
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)

Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
Let me look and see if I have other changes made as well.


[:"red"]Lisa[/]
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
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.
Attachments
75194-lisa\'s_graemlinpanel.txt (0 Bytes, 58 downloads)

Last edited by Lisa_P; 04/10/2003 2:25 AM.

[:"red"]Lisa[/]
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
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
Attachments
75195-graemlin.gif (0 Bytes, 63 downloads)

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
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

Joined: Apr 2003
Posts: 15
Newbie
Newbie
Offline
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");

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
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.

Joined: Apr 2003
Posts: 15
Newbie
Newbie
Offline
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.

Joined: Apr 2003
Posts: 16
Newbie
Newbie
Offline
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
Joined: Nov 2001
Posts: 10,369
I type Like navaho
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.

Joined: Apr 2003
Posts: 16
Newbie
Newbie
Offline
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
Joined: Aug 2002
Posts: 239
Member
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
Joined: Aug 2002
Posts: 239
Member
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
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
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.

Joined: Aug 2002
Posts: 239
Member
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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)