PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
CodyG
Life Cycles Becoming CPU Cycles


Joined: Jan 02, 2003
Posts: 668
Location: Vancouver Island

PostPosted: Thu Dec 04, 2003 12:51 pm Reply with quote Back to top

Heh Raven ...

As if I don't have a zillion other things to fix right now Confused ... I thought I'd try to install the News Ordering hack. What nuker couldn't resist ordering?

The thing is ... in my version of admin/modules/stories.php it has code for all the associated topics input and output that FB installed since 6.5. And variables for time/date are diff too. (though probably irrelevant, ie: $xmonth and $month)

I've been comparing lines of code in stories.php for about an hour now... and have just about reached the bottom, hacking away like a good girl.... and totally skeptical that this ever going to work.


I need another coffee, if it does work for production site Raven's nuke 6.9, with authors table mods, what are the compatible chances for my other nuke sites?


Code:
function previewAdminStory($automated, $year, $day, $month, $hour, $min, $subject, $hometext, $bodytext, $topic, $catid, $ihome, $alanguage, $acomm, $display_order, $pollTitle, $optionText)



Below is my current version ... of course, one has to go through function after function... (wondering if I'm talking myself into xoops?) and $display_order should be where??? Maybe the answer is in the sql?

Code:
function previewAdminStory($automated, $year, $day, $month, $hour, $min, $subject, $hometext, $bodytext, $topic, $catid, $ihome, $alanguage, $acomm, $pollTitle, $optionText, $assotop)



If these variables are not ordered... oops, right?
sigh

Wishing on the perfect nuke for christmas... perfectnuke.net Wink
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Dec 05, 2003 6:46 am Reply with quote Back to top

The placement of $display_order is only relevant to the code that calls the function. In other words, if $display_order is the fifth argument, then the code that calls the function has to reference it as the fifth argument. Does that help?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum