Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
This is languages/admin/edittheme.php
Attachments
110051-admin.ZIP (0 Bytes, 204 downloads)

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
first zip is empty. nothing in it.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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.

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
I turned PM's on... and I'll reattach the zip file to this post.
Attachments
110102-Graemlin.zip (0 Bytes, 15 downloads)

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
well expect an PM from me.. I just want to reiterate for everyone to make sure you check and recheck you work.
Attachments
110110-kestral.zip (0 Bytes, 240 downloads)

Sponsored Links
Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
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.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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.

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
Here's the untouched file.... but with .txt on the end so I could upload it.
Attachments
110243-ubbt.inc.php.txt (0 Bytes, 331 downloads)

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay kestral try this
Attachments
110277-110243-ubbt.inc.php.txt (0 Bytes, 79 downloads)

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
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


Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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.

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
Well again, thank you !

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
np

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
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

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
you crafty devil u

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
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?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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...

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Thankyou again

Page 2 of 2 1 2

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
WebGuy 2
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)