UBB.Dev
Posted By: JoshPet Finished-[6.3-6.4] Popup Graemlin Panel - 06/07/2003 9:40 AM
Mod Name / Version: Popup Graemlin Panel

Description: Allows you to limit the number of graemlins to be displayed on the posting pages and gives a link to click "More Graemlins" for a pop-up window where you can select from additional graemlins.

Working Under: UBB.Threads 6.3-6.4

Mod Status: Finished

Any pre-requisites: UBB.Threads 6.3-6.4

Author(s): JustDave

Date: 06/07/03

Credits: JoshPet, AllenAyers & Astaran for bug fixes and updates

Files Altered: /admin/edittheme.php, /admin/doedittheme.php, /languages/instant_markup.php, /templates/default/ubbt_instant_ubbcode.tmpl, ubbt.inc.php, /languages/admin/edittheme.php

New Files: graemlinpanel.php

Database Altered: none

Info/Instructions: This is really JustDave's genius. I simply updated the directions for 6.3. <img src="/forum/images/graemlins/smile.gif" alt="" />

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.




Attached File
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/14/2003 2:51 PM
Version: 6.3
URL: http://forum.f-bodyhideout.com

Added this mod. I set the Graemlins number to 15, but it won't display any Graemlins initially when attempting to post or reply however, it will give you a link to the additional Graemlins, which are all the Graemlins.

Any idea?
Posted By: JoshPet Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/14/2003 11:45 PM
Is your theme file writable? When you go back - is the number 15 still there?

Do you currently have more than 15 graemlins?
Posted By: caymuc Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/16/2003 12:49 AM
Hi, my modification suggestion for the cool hack (close button added in graemlinpanel.php):


-----

$graemlinpanel
$tbclose

<!-- Extra Close button -->
<br><div align="center">
<input type="button" value="{$ubbt_lang['CLOSE_WINDOW']}" onClick="self.close()" class="buttons">
</div>


</body>
</html>
UBBTPRINT;


---
and in language files something like this:
$ubbt_lang['CLOSE_WINDOW'] = "close window";
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/25/2003 6:07 AM
[]JoshPet said:
Is your theme file writable? When you go back - is the number 15 still there? [/]

Not sure what you mean by my theme file being writeable...?

[]Do you currently have more than 15 graemlins? [/]

Yes, I have more than 15 Graemlins.
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/25/2003 6:20 AM
Ahhhh....for some reason, when I go into the Admin panel and edit the theme setting for the Max Graemlins....I enter my max number...and then click on update theme.inc.php the table goes blank...not showing me if the field has been updated....I go back to the page and I see that it is not saving any of the max numbers I'm inputting.

Any ideas?
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/25/2003 6:24 AM
Mmmmm, actually any changes that I'm making in the theme.inc.php file are not being saved. I just wanted to experiment with this file and change a few things to see if the same issue was happening with any of the other fields. Turns out that no matter what changes I'm making to the theme.inc.php file....it's not being saved.

Okay, now I'm really confused...even more so that usual...ouch, that's bad.
Posted By: JustDave Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/25/2003 6:36 AM
Make sure that the theme.inc.php file is world readable and writable.
Posted By: JoshPet Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 06/25/2003 6:47 AM
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/05/2003 3:38 PM
I'm a very new user to any type of code...and I'm trying to figure out why I can't get this hack to work.

In your instructions:

### Open edittheme.php and change this:

### Change this:


<p {$new['cellspacing']}>
{$ubbt_lang['CELLSPACING']}<br>
<input type=text size=5 name=cellspacing value={$theme['cellspacing']} class=formboxes>


### to this:


<p {$new['cellspacing']}>
{$ubbt_lang['MAX_GREM']}<br>
<input type=text size=5 name=max_graemlins value="{$theme['max_graemlins']}" class=formboxes>

<p {$new['cellspacing']}>
{$ubbt_lang['CELLSPACING']}<br>
<input type=text size=5 name=cellspacing value={$theme['cellspacing']} class=formboxes>

It lists <p {$new['cellspacing']}> twice in the code...is this correct?
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/05/2003 4:45 PM
Hmmmm, I've gone through all of the code and ensured that each file was edited as the instructions read...and still...no go.
Posted By: JoshPet Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/05/2003 4:57 PM
You find that section and change it to that..... so essentially you add the other bit above it.

Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/05/2003 5:14 PM
[]JoshPet said:
You find that section and change it to that..... so essentially you add the other bit above it.

[/]

What I meant by this:

### Open edittheme.php and change this:

### Change this:


<p {$new['cellspacing']}>
{$ubbt_lang['CELLSPACING']}<br>
<input type=text size=5 name=cellspacing value={$theme['cellspacing']} class=formboxes>


### to this:


<p {$new['cellspacing']}>
{$ubbt_lang['MAX_GREM']}<br>
<input type=text size=5 name=max_graemlins value="{$theme['max_graemlins']}" class=formboxes>

<p {$new['cellspacing']}>
{$ubbt_lang['CELLSPACING']}<br>
<input type=text size=5 name=cellspacing value={$theme['cellspacing']} class=formboxes>

Was that the bold areas of what I'm changing the code to lists <p {$new['cellspacing']}> twice. Is that correct?
Posted By: Astaran Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/05/2003 10:33 PM
Yeah, you simply add the first part to the edittheme.php
Alternativley you could say:

find:
Code
<p {$new['cellspacing']}> <br />{$ubbt_lang['CELLSPACING']}<br> <br /><input type=text size=5 name=cellspacing value={$theme['cellspacing']} class=formboxes>


and add before:
Code
<p {$new['cellspacing']}> <br /><p {$new['cellspacing']}> <br />{$ubbt_lang['MAX_GREM']}<br> <br /><input type=text size=5 name=max_graemlins value=\"{$theme['max_graemlins']}\" class=formboxes>



Posted By: Dave_L_dup1 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 12:01 AM
I think you misunderstood smoknz28's question. He's asking about the duplicate occurence of {$new['cellspacing']}.

I was just looking at that myself. Shouldn't the first occurrence be {$new['max_graemlins']}?
Posted By: JoshPet Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 12:10 AM
I didn't see it until Dave pointed it out.

Dave is correct.... it's a typo/bad copy/paste job in the instructions.

I've corrected them and reattached the zip.... But Dave is right, it should be {$new['max_graemlins']}.


Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 12:31 AM
Well damn...here I was thinking I was losing more marbles upstairs...it's bad enough I only have a few more left.
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 12:47 AM
Okay gang...I got the code fixed, but I'm still having issues with getting the graemlins to display the way I'd like, which is showing only 8 at initial screen and then the user would have to click on 'More Graemlins' to see the additional ones available.

Is there anywhere in the code that I can code it into the config? If so, where do I find this...?

Also, this all had come about when I could not edit 'Theme Settings' within my Admin Panel.

See this post at InfoPop's Community.

Any help with this is GREATLY appreciated!
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 12:57 AM
Okay, being the rookie that I am with this coding schtuff...I found that the theme.inc.php file is where the changes are suppose to save to where I make in my 'Edit Theme Settings' in my Admin Panel.

Okay, well when I look at that page...I don't see anything relating to the graemlins. I would figure that there should be an area for this if I have the option to make changes in my Edit Theme Settings...

Here's what I'm seeing in the theme.inc.php file:

<?
/*
# UBB.threads, Version 6
# Official Release Date for UBB.threads Version6: 06/05/2002

# First version of UBB.threads created July 30, 1996 (by Rick Baker).
# This entire program is copyright Infopop Corporation, 2002.
# For more info on the UBB.threads and other Infopop
# Products/Services, visit: http://www.infopop.com

# Program Author: Rick Baker.

# You may not distribute this program in any manner, modified or otherwise,
# without the express, written written consent from Infopop Corporation.

# Note: if you modify ANY code within UBB.threads, we at Infopop Corporation
# cannot offer you support-- thus modify at your own peril
# ---------------------------------------------------------------------------
*/

// Theme variables

// Default style sheet
$theme['stylesheet'] = "infopop";

// What style sheets do you want to make available to your users
// Format: Filename without the .css extension: Description
// ie: 'stylesheet:The default style sheet,
// stylesheet2:Large font style sheet';
$theme['availablestyles'] = "
blackandblue:Black and blue,
desert-classic:Classic Desert,
frosted:Frosted,
greenday:Green Day,
infopop:Infopop,
largeblackandblue:Black and blue (large fonts),
largegreenday:Green Day (large fonts),
largetheblues:the blues (large fonts),
stylesheet:wild,
stylesheet2:desert,
stylesheet3:wild (large fonts),
stylesheet4:desert (large fonts),
theblues:the blues";

// Table cellpadding
$theme['cellpadding']= 3;

// Table cellspacing
$theme['cellspacing'] = 1;

// Default color for admin usernames
$theme['admincolor'] = "#FF0000";

// Default color for moderator usernames
$theme['modcolor'] = "#00AA00";

// Table width
// Percentage or integer
$theme['tablewidth'] = "95%";

// Default listing to flat or threaded mode
$theme['postlist'] = "flat";

// Default posts and reply listing to collapsed or expanded
$theme['threaded'] = "collapsed";

// Default sort order
// 1 - Descending Subject
// 2 - Ascending Subject
// 3 - Descdending Poster
// 4 - Ascending Poster
// 5 - Descending Date
// 6 - Ascending Date
$theme['sort'] = "5";

// Default number of topics per page
$theme['postsperpage']= "40";

// Defrault number of posts to be shown on a single page when viewing a
// thread in flat mode
$theme['flatposts'] = "25";

// Allow users to add a picture to their profile
$theme['PictureView']= "1";

// If allowing users to add pictures, what is the maximum width allowed
$theme['PictureWidth'] = "65";

// If allowing users to add pictures, what is the maximum width allowed
$theme['PictureHeight'] = "85";

// Show user's pictures with their posts
$theme['PicturePosts']= 1;

// Default textarea columns
$theme['TextCols'] = "60";

// Default Textarea rows
$theme['TextRows'] = "5";

// Which Time format to use
// short1 = 'MM/DD/YY 10:19 AM';
// short2 = 'DD/MM/YY 10:19 AM';
// short3 = 'YY/MM/DD 10:19 AM';
// short4 = 'DD/MM/YYYY 22:43";
// short5 = '22:43 DD/MM/YYYY";
$theme['timeformat'] = "short1";

?>

Like I said...I'm not finding an area that is set for the graemlins to display. Maybe I'm just not looking at the right file...? I don't know....but just trying to learn and get help from those of you who know more than this rookie.
Posted By: JoshPet Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 1:02 AM
Have you edited the theme file through the admin interface yet - the mod adds a box there - which you'll fill in the number of graemlins you want to display. But you need to edit it the first time.

If not - double check your edittheme.php and doedittheme.phh steps. I've installed this on dozens of sites, even with the other typo, it works.
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 1:10 AM
[]JoshPet said:
Have you edited the theme file through the admin interface yet - the mod adds a box there - which you'll fill in the number of graemlins you want to display. But you need to edit it the first time. [/]

That's where this all came about....I clicked on the 'Edit Theme Settings' in my Admin Panel and I can see the box where I would input the number of graemlins I'd like to see initially listed. I input a number like 8 and after I click on 'Update theme.inc.php' the page just goes blank. No matter what I attempt to change on this page through my admin panel....and then click on Update.....it goes to a blank page. I'm sooo confused....

[]JoshPet said:
If not - double check your edittheme.php and doedittheme.phh steps. I've installed this on dozens of sites, even with the other typo, it works. [/][/]

Rechecking as this will be my 3rd time checking these two pages.
Posted By: JoshPet Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 1:17 AM
Well - you could add this:

// Max Graemlins
$theme['max_graemlins'] = "12";



into the theme file.... but if that's not working right, it'll probably get lost next time you edit.

Just tested that typo fix here - and it still works.
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 1:25 AM
Okay, here's the update:

edittheme.php = code is correct
doedittheme.php = code is correct

Still not working...damn, bummer....
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 08/06/2003 1:31 AM
This is just a snippet of my 'edittheme.php' but I do wonder if this is correct....

// --------------------------------------------------------------
// If we can't open the directory, use the current theme settings
$html -> open_admin_table();
echo "<tr><td class=darktable> </td><td class=darktable>{$ubbt_lang['STYLEFILE']}</td><td class=darktable>{$ubbt_lang['STYLENAME']}</td></tr>";

for ( $i=0; $i<$stylesize;$i++) {
$styles[$i] = ereg_replace("\.css","",$styles[$i]);
$checked = "";
if (isset($stylenames[$styles[$i]])) {
$checked = "CHECKED";
$stylenames[$styles[$i]] = ereg_replace(""","\"",$stylenames[$styles[$i]]);
}
else {
$stylenames[$styles[$i]] = "";
}
echo "<tr><td class=darktable><input type=checkbox class ="formboxes" name="stylename$styles[$i]" $checked></td>";
echo "<td class=darktable>$styles[$i]</td>";
echo "<td class=darktable><input type=text name="styledesc$styles[$i]" class="formboxes" value="". $stylenames[$styles[$i]] .""></td></tr>";
}
echo "</table></td></tr></table>";

echo "
<p {$new['max_graemlins']}>
{$ubbt_lang['MAX_GREM']}<br>
<input type=text size=5 name=max_graemlins value="{$theme['max_graemlins']}" class=formboxes>

<p {$new['cellspacing']}>
{$ubbt_lang['CELLSPACING']}<br>
<input type=text size=5 name=cellspacing value={$theme['cellspacing']} class=formboxes>

<p {$new['admincolor']}>
{$ubbt_lang['ADMINCOLOR']}<br>
<input type=text name=admincolor value="{$theme['admincolor']}" class=formboxes>

The echo statment that I've highlighted in bold...should that be there?
Posted By: Robk Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 10/17/2003 11:48 PM
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /var/www/cellstreet.com/html/cgi-bin/ubbt.inc.php on line 1685

Fatal error: Call to undefined function: getmicrotime() in /var/www/cellstreet.com/html/cgi-bin/main.inc.php on line 16

line 1685 is the class user bit
// ########################################################################
// USER CLASS
// Define a class for the user object
// ########################################################################
class user {

line 16 is the $timea line
// Page load times
$timea = getmicrotime();

ive checked the files ive edited and they seem ok with the edits to the files i have made, i get this error when trying to get onto my forum, anyone any ideas how i can fix this?

Thanks
Rob
Posted By: Robk Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 10/18/2003 4:02 AM
i seem to have fixed it, think i missed a } somewhere along the line,
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 12/13/2003 5:43 AM
Any plans to get this working under 6.4?
Posted By: omegatron Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 12/13/2003 6:17 AM
This works for 6.4

I have it installed on my 6.4 board.
Posted By: smoknz28 Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 12/13/2003 7:11 AM
Beautiful....works like a charm with 6.4.
Posted By: Ian_W Re: Finished-[6.3-6.4] Popup Graemlin Panel 6.3 - 12/13/2003 11:52 AM
Altered the first post to reflect this working under 6.4 - thanks for confirming.
Posted By: abbood Re: Finished-[6.3-6.4] Popup Graemlin Panel - 12/29/2003 8:11 AM
Great work ...

My questions is .. :

If am using 6.4.x Advanced UBBT Code 2.2 but I want the gremlins to be displayed using the pop window...is it possible ? what's that best way to do it ? and is there a conflict between them ?

Thanks you for your time and effort.
Posted By: ChAoS_dup1 Re: Finished-[6.3-6.4] Popup Graemlin Panel - 02/26/2004 11:28 PM
Is there a way to set the default size of the window that opens up?

Thankyou in advance
Posted By: scroungr Re: Finished-[6.3-6.4] Popup Graemlin Panel - 02/26/2004 11:32 PM
I was looking into it but you can't that I can see. although you can add scroll bars to it the width and height statements fail.
Posted By: JoshPet Re: Finished-[6.3-6.4] Popup Graemlin Panel - 02/27/2004 11:39 AM
In the ubbt_instant_ubbcode.tmpl file - this function which you add to the top:

function openGraemlinPanel() {
graemlinWindow=window.open('{$config['phpurl']}/graemlinpanel.php','graemlinpanel','scrollbars=yes,resizable=yes,width=300,height=400');
if (graemlinWindow.opener == null) graemlinWindow.opener = self;
}


Has the window height and width in it - edit it there.
Posted By: scroungr Re: Finished-[6.3-6.4] Popup Graemlin Panel - 02/27/2004 4:48 PM
could have sworn I tried to add the height and weight and it didn't work..
Posted By: scroungr Re: Finished-[6.3-6.4] Popup Graemlin Panel - 02/27/2004 5:35 PM
okay now I remember.. if using the quickreply you need to also edit the code in showflat.tmpl also

function openGraemlinPanel() {
graemlinWindow=window.open('{$config['phpurl']}/graemlinpanel.php','graemlinpanel','scrollbars=yes,resizable=yes,width=300,height=400');
if (graemlinWindow.opener == null) graemlinWindow.opener = self;
}

change the 300 to whatever ya want.

We're not worthy
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/14/2004 2:35 PM
Dozens eh? Leave it to me then to muck it up also.

I swear I followed the directions step by step. Only 'confusing' part is "Open instant_markup.php and add this:" but it doesnt' say 'where' to add it.

In my admin panel, under themes I am able to set a # of graemlins to be shows (18) but when I update the page, nothing further happens. I see see our '60ish' amount of graemlins on the 'post a new reply' thread.
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/14/2004 5:57 PM
heya Kestral. Yeah that line is to be added to the bottom of the instant_markup.php in your language directory and should be added to the bottom. It only sets up a language string so that say you were French you could change it to French tell ya what if ya can Tell me what version of Threads you are adding this to and then upload using a zip your admin/edittheme.php, admin/doedittheme.php, /languages/instant_markup.php, /templates/default/ubbt_instant_ubbcode.tmpl, ubbt.inc.php,/languages/admin/edittheme.php files and I and others will take a look.
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/15/2004 1:44 PM
I have 6.4 Went file by file & line by line again being sure of spacing and brackets. Uploaded the changed files this morning (with board closed). I see the 'max graemlins' in the admin panel, but nothing has changed on the 'post a thread' or 'reply to a thread' nor are there any errors shown.

Has to be something dumb Im missing.

Never did a zip file before and it wouldn't let me preserve directory of files, so languages/admin/edittheme.php is seperate

Attached File
110050-Graemlin.zip  (12 downloads)
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/15/2004 1:49 PM
This is languages/admin/edittheme.php

Attached File
110051-admin.ZIP  (204 downloads)
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/15/2004 3:35 PM
first zip is empty. nothing in it.
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/15/2004 3:42 PM
oh and your not accepting prm's so can't send ya a PM the second zip is fine and the line you added is fine. I really need to see the other files.
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/16/2004 5:08 AM
I turned PM's on... and I'll reattach the zip file to this post.

Attached File
110102-Graemlin.zip  (15 downloads)
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/16/2004 7:23 AM
well expect an PM from me.. I just want to reiterate for everyone to make sure you check and recheck you work.

Attached File
110110-kestral.zip  (240 downloads)
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/17/2004 1:20 PM
Ok, I 're-did', and re-checked this about 15 times. I get an error when the file is uploaded (to my closed board)

This is the error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/psa/home/vhosts/RPMWarrior.com/httpdocs/ubbthreads/ubbt.inc.php on line 1686

Fatal error: Call to undefined function: getmicrotime() in /usr/local/psa/home/vhosts/RPMWarrior.com/httpdocs/ubbthreads/main.inc.php on line 16

Now when I got that line, 1686, it is identical to that in the instructions.
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/17/2004 3:45 PM
open up the ubbt.inc.php and search that this line is there function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
also upload a clean untouched ubbt.inc.php for me to look at.
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/17/2004 7:02 PM
Here's the untouched file.... but with .txt on the end so I could upload it.

Attached File
110243-ubbt.inc.php.txt  (331 downloads)
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/18/2004 12:22 AM
okay kestral try this

Attached File
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/18/2004 1:14 PM
My gosh, it works. Ok, since I copied the directions into an orginal ubbt.inc.php 4 times, can you tell me what exactly I did wrong

Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/18/2004 3:15 PM
well the first one you sent had only about half the ubbt.inc.php changes, the second I don't know. but when ya sent me this last virgin I added no problem.
Posted By: kestral Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/18/2004 4:33 PM
Well again, thank you !
Posted By: scroungr Re: Finished-[6.3] Popup Graemlin Panel 6.3 - 03/18/2004 5:00 PM
np
I installed this and I am getting this erorr


Warning: main(includes/hack.inc.php): failed to open stream: No such file or directory in /usr/www/efs/ubbthreads/graemlinpanel.php on line 21

Fatal error: main(): Failed opening required 'includes/hack.inc.php' (include_path='.:/usr/local/lib/php') in /usr/www/efs/ubbthreads/graemlinpanel.php on line 21

what is hack.inc.php? I never saw that file
Posted By: scroungr Re: Finished-[6.3-6.4] Popup Graemlin Panel - 10/24/2004 8:53 PM
well ya didn't create a hack file.. so just change hack to main.inc.php ya see I create a hack.inc.php which points to main.inc.php so I don't have to change every script when ever I upgrade... so for joo just rewrite that to main.inc.php in the graemlin panel script
you crafty devil u
Ok its working now but I only have the button/link to the panel now.The 12 "stock" Graemlins aren't showing above the button like here at ThreadsDev. Is that on older version or did I botch some code?
Posted By: scroungr Re: Finished-[6.3-6.4] Popup Graemlin Panel - 10/24/2004 9:22 PM
Fixed it for ya.. ya never updated the config.. ya need to update the config at least once so it will get the value for the graemlin panel...
Thankyou again
© UBB.Developers