You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Styles Admin Fix Up To 6.8 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
D1ab70
Nuke Soldier
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14


PostPosted: Fri Jul 18, 2003 4:06 pm Reply with quoteBack to top

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.
Find all posts by D1ab70View user's profileSend private message
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 994

Location: Tulsa, OK

PostPosted: Fri Jul 18, 2003 4:20 pm Reply with quoteBack to top

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.
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
D1ab70
Nuke Soldier
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14


PostPosted: Fri Jul 18, 2003 4:27 pm Reply with quoteBack to top

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.
Find all posts by D1ab70View user's profileSend private message
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 994

Location: Tulsa, OK

PostPosted: Fri Jul 18, 2003 4:44 pm Reply with quoteBack to top

it will affect the admin styles but AFAIK, the new forum themes ignore those settings
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
D1ab70
Nuke Soldier
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14


PostPosted: Fri Jul 18, 2003 4:51 pm Reply with quoteBack to top

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.
Find all posts by D1ab70View user's profileSend private message
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 994

Location: Tulsa, OK

PostPosted: Fri Jul 18, 2003 5:14 pm Reply with quoteBack to top

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
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
D1ab70
Nuke Soldier
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14


PostPosted: Sat Jul 19, 2003 4:05 pm Reply with quoteBack to top

here

http://www.2thextreme.org/modules.php?name=Downloads&d_op=getit&lid=14

im using 6.8 currently not 6.5.
Find all posts by D1ab70View user's profileSend private message
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 994

Location: Tulsa, OK

PostPosted: Sat Jul 19, 2003 7:44 pm Reply with quoteBack to top

D1ab70 wrote:
here

http://www.2thextreme.org/modules.php?name=Downloads&d_op=getit&lid=14

im using 6.8 currently not 6.5.


from 6.5 - 6.8 have the same theme compatibility

here is that theme updated to work with nuke 6.5-6.8 (might wanna reinstall your subsilver theme first)
http://www.nukecops.com/uploads/disgruntledtech/2_The_Extreme%206.5.zip

the images were from subblack and didn't match up well so a made one with red images too
http://www.nukecops.com/uploads/disgruntledtech/2_The_Extreme%206.5%20with%20new%20images.zip

hope they work out for ya Smile
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
D1ab70
Nuke Soldier
Nuke Soldier


Joined: Jul 18, 2003
Posts: 14


PostPosted: Sun Jul 20, 2003 6:57 am Reply with quoteBack to top

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?
Find all posts by D1ab70View user's profileSend private message
disgruntledtech
Site Admin
Site Admin


Joined: Apr 14, 2003
Posts: 994

Location: Tulsa, OK

PostPosted: Sun Jul 20, 2003 11:32 am Reply with quoteBack to top

http://www.nukemods.com <-- the best theme site out there
Find all posts by disgruntledtechView user's profileSend private messageSend e-mailVisit poster's website
Slag
Nuke Cadet
Nuke Cadet


Joined: Sep 08, 2003
Posts: 8


PostPosted: Mon Sep 08, 2003 11:36 am Reply with quoteBack to top

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!
Find all posts by SlagView user's profileSend private message
djdevon3
Sergeant
Sergeant


Joined: Sep 14, 2003
Posts: 126


PostPosted: Sun Sep 21, 2003 4:40 pm Reply with quoteBack to top

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
Find all posts by djdevon3View user's profileSend private messageAIM Address
GUNZ
Sergeant
Sergeant


Joined: Sep 22, 2003
Posts: 106

Location: Ft. Rucker, Alabama

PostPosted: Tue Sep 23, 2003 6:10 pm Reply with quoteBack to top

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!

_________________
Image
Don't run...you'll only die tired.
Find all posts by GUNZView user's profileSend private messageVisit poster's website
clarlune
Nuke Cadet
Nuke Cadet


Joined: Sep 26, 2003
Posts: 2

Location: Alabama

PostPosted: Sat Sep 27, 2003 11:47 pm Reply with quoteBack to top

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 Smile Very Happy

Kudos to you for your initiative and knowledge.

Thanks for sharing!

clarlune
Find all posts by clarluneView user's profileSend private messageVisit poster's website
cloud^77
Corporal
Corporal


Joined: Sep 21, 2003
Posts: 60


PostPosted: Thu Oct 23, 2003 6:21 am Reply with quoteBack to top

Have been searching for this quite some times (almost 1 month), with the right keywords finally found this thread. Thanks for sharing your knowledge. Very Happy

I like this forum...hehehhe... Laughing
Find all posts by cloud^77View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.221 Seconds - 191 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::