| Author |
Message |
D1ab70
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14
|
Posted:
Fri Jul 18, 2003 4:06 pm |
  |
ok im not a php expert but i found a fix for a bug that existed thru to nuke 6.8.theres would be a problem when you hit any styles option in the forums admin an error would pop up stating a problem with an include .pagestart.im surprised nobody had this problem but then agn i use a free lycos webhost.I had an existing phpbbport upgrade 2.0.5 and i remember when i had that in place that styles admin worked perfectly so i looked closely at the error i had and it was in admin_styles.php.so i opened that file from nuke 6.8 and phpport 2.0.5 and looked at the top showing the file version is the same on them then compared lines.i looked closely at the line where it called for .pagestart as an include ,and found a diff among the lines.the admin_styles.php with 6.8 had.....
$no_page_header = (!empty($HTTP_POST_VARS['send_file']) || $cancel) ? TRUE : FALSE;
require('./pagestart.' . $phpEx); <<<notice the .pagestart
then opened that same file from phpbbport 2.0.5.....
$no_page_header = (!empty($HTTP_POST_VARS['send_file']) || $cancel) ? TRUE : FALSE;
require($phpbb_root_path . 'extension.inc'); <<<<heres the difference
require('./pagestart.' . $phpEx);
so i took the line...
require($phpbb_root_path . 'extension.inc');
and copied it into the nuke 6.8 admin_styles.php exactly how it was in the phpport 2.0.5 admin_styles.php then saved it.copied the new file to my server.then the styles admin worked.it seemed that missing that line was a problem.
if any admin wants i can send the new file in email.this file was a fix for 6.8 only and i havent tested it under diff versions since 6.8 is next gen.
i would like to give my thanks to nuke cops for coming out with nice new phpnukes.good work and i hope i was helpful. |
|
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Fri Jul 18, 2003 4:20 pm |
  |
good catch but its not really an issue since there isnt a need to add styles in the ported version since they only affect the admin panel
sec-fix4 mentions that this file can be removed. |
|
|
     |
 |
D1ab70
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14
|
Posted:
Fri Jul 18, 2003 4:27 pm |
  |
hmm but doesnt it change the style for the whole forums.ik that you can add the styles then go into config and change the styles and it changes the forums and admin cp. |
|
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Fri Jul 18, 2003 4:44 pm |
  |
it will affect the admin styles but AFAIK, the new forum themes ignore those settings |
|
|
     |
 |
D1ab70
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14
|
Posted:
Fri Jul 18, 2003 4:51 pm |
  |
ok thers something maybe you can help me if u can.im trying to do a clan-hq site but im still testing so i havent made it public and stuff.i added this nice theme 2 the xtreme but it replaces the subsilver style overiding any new or changed files in 6.8.what i wanna do is make a whole new style folder for it and what i did was change where it sed subsilver to 2xtreme including the folder but when i add it i get an parsing error of some sort saying about a misconfiguration in theme config file.i can i go about this feat w/o overwriting existing theme files.and yes this theme can change the whole forums in 6.8 as well as the forums cp. |
|
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Fri Jul 18, 2003 5:14 pm |
  |
post a download link for the theme and i'll see if i can port it to nuke 6.5 so that it doesnt overwrite existing files |
|
|
     |
 |
D1ab70
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14
|
Posted:
Sat Jul 19, 2003 4:05 pm |
  |
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Sat Jul 19, 2003 7:44 pm |
  |
|
     |
 |
D1ab70
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14
|
Posted:
Sun Jul 20, 2003 6:57 am |
  |
thx man.i know i wont have to reinstall the subsilver theme.i made a backup on the server so all i have to do is rename it.also now i know where ever i see 6.5 themes it applies to me now.also not to bug ya but do you know any good theme/styles downloads sites in english? |
|
|
   |
 |
disgruntledtech
Site Admin


Joined: Apr 14, 2003
Posts: 994
Location: Tulsa, OK
|
Posted:
Sun Jul 20, 2003 11:32 am |
  |
|
     |
 |
Slag
Nuke Cadet


Joined: Sep 08, 2003
Posts: 8
|
Posted:
Mon Sep 08, 2003 11:36 am |
  |
D1ap70,
Many thanks! That missing line from the admin_styles.php is the reason that I was getting nothing but blank pages. It all works fine now...bravo! |
|
|
   |
 |
djdevon3
Sergeant


Joined: Sep 14, 2003
Posts: 126
|
Posted:
Sun Sep 21, 2003 4:40 pm |
  |
Holy Crap!!!!! I've been trying to fix my admin styles for 2 months checking a lot of nuke sites. Thank you!!!!!!!!!<br><br>
I had an issue with admin_styles in 6.7. After a month of digging I finally fixed that then it did the same thing with adminstyles_bu. I just copy and pasted and voila! You the man!
Check out all the senseless crap I've done with my site in the 2 months I've started using php-nuke.<br><br>
www.SouthFloridaRaves.com |
|
|
    |
 |
GUNZ
Sergeant


Joined: Sep 22, 2003
Posts: 106
Location: Ft. Rucker, Alabama
|
Posted:
Tue Sep 23, 2003 6:10 pm |
  |
D1ab70...Oh MY GOD!! Thanks! I was pulling hair out by the handful. That little fix of yours saved what little I have left.
Thanks! |
_________________
Don't run...you'll only die tired. |
|
    |
 |
clarlune
Nuke Cadet


Joined: Sep 26, 2003
Posts: 2
Location: Alabama
|
Posted:
Sat Sep 27, 2003 11:47 pm |
  |
Very cool that I found this answer in the posted bugs section.
Immediately downloaded the admin_styles.php file, inserted the missing line, uploaded it to my server and
Kudos to you for your initiative and knowledge.
Thanks for sharing!
clarlune |
|
|
    |
 |
cloud^77
Corporal


Joined: Sep 21, 2003
Posts: 60
|
Posted:
Thu Oct 23, 2003 6:21 am |
  |
Have been searching for this quite some times (almost 1 month), with the right keywords finally found this thread. Thanks for sharing your knowledge.
I like this forum...hehehhe...  |
|
|
   |
 |
|
|