Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
dionsis
New Member
New Member



Joined: Aug 12, 2005
Posts: 4

PostPosted: Fri Aug 12, 2005 3:50 pm Reply with quote

hey i updated your script from nuke 6.5 to work with 7.5+

only thing is i couldnt find the changes to make the admin.php 3.1 compatible so the admin.php is emmm leaky if my choice of word

but it works on 7.7 and 7.8

so eh enjoy,

Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Aug 13, 2005 12:30 pm Reply with quote

Thanks - I was looking for something like this.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
dionsis







PostPosted: Sat Aug 13, 2005 12:51 pm Reply with quote

no bother

just when i was making it work with 7.7 i noticed in the copyright it was a script by gaylen so i thought once done i should post it here
 
funnsun34
New Member
New Member



Joined: Jun 23, 2005
Posts: 3

PostPosted: Fri Feb 10, 2006 12:28 pm Reply with quote

It does not work with unpatched 7.9. It totally broke my news.
 
View user's profile Send private message
jaded
Theme Guru



Joined: Nov 01, 2003
Posts: 1006

PostPosted: Fri Feb 10, 2006 2:58 pm Reply with quote

Quote:
but it works on 7.7 and 7.8


I dont believe he expected it to work on 7.9 and you are taking a huge risk using unpatched nuke. I hope that you will patch your site.

_________________
Themes BB Skins
http://www.jaded-designs.com
Graphic Tees
http://www.cafepress.com/jadeddesigns
Paranormal Tees
http://www.cafepress.com/HauntedTees
Ghost Stories & More
http://www.hauntingtales.net 
View user's profile Send private message Visit poster's website
funnsun34







PostPosted: Mon Feb 13, 2006 8:18 am Reply with quote

thanks... I haven't patched it, since I've got a lot of 3rd party mods and I've been to lazy to do all the extra fixing to get the 3rd party stuff working on the right hand side.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Feb 13, 2006 8:44 am Reply with quote

funnsun34 wrote:
thanks... I haven't patched it, since I've got a lot of 3rd party mods and I've been to lazy to do all the extra fixing to get the 3rd party stuff working on the right hand side.

Well lets hope you dont get hacked then as that is even more work.
 
View user's profile Send private message Send e-mail
funnsun34







PostPosted: Mon Feb 13, 2006 9:43 am Reply with quote

the site can't be access from the internet.... it's a intranet site

thanks for the heads up though
 
rustyhook
New Member
New Member



Joined: Jan 12, 2006
Posts: 15

PostPosted: Mon Jun 05, 2006 6:32 am Reply with quote

Just thought I would ask this, but there might not be a solution. I have a nuke 7.7 patched site. Made the modifications I think that were made to admin.php and replaced the news module files with the ones in the package. It seemed to work. But now I realize that when news is submitted, it never gets to the database. Same thing when I change the order. When I remove the display_order row from nuke_stories it seems to work fine, but I obviously can't change the order of articles.

I didn't replace my admin.php with the packaged admin.php because I have altered it for other purposes and they aren't even close to a match...plus my site is patched and runs Sentinel. Can anyone tell me the changes I need to make to admin.php manually? Is there any other reason why my articles or edits may not be posting to the database? They seem to post to admin when someone submits news, but when approved they do not show up.

Thanks for any help that can be provided.
 
View user's profile Send private message
kguske







PostPosted: Mon Jun 05, 2006 11:23 am Reply with quote

I think you just need to change the code where it inserts the new story to include the additional display_order column. You probably won't see the column names, but rather just need to insert an additional field with a default value for the display_order field.
 
rustyhook







PostPosted: Tue Jun 06, 2006 9:50 am Reply with quote

I'm not quite sure what you mean. When the user submits an article, before it is approved by admin, does it go to a different table than nuke_stories? I thought the ordering of articles was an admin feature? I thought basically it just changes the sid or rather overrides the sid order in the database. Not sure if I would want the submitter to be able to change that value. Either way, is there any documentation on how I would edit the submit news module if that is the case?

Please excuse my ignorance. I'm just learning how all this works.

Thank you.
 
kguske







PostPosted: Tue Jun 06, 2006 12:00 pm Reply with quote

I can't remember if it's a different table, or just a different status in the same table. I'm thinking it's a different table.

Ordering of articles is only an admin feature if you add it - the standard is most recent first, and there are no built-in abilities to change that right now. Changing the SID might do the trick, depending on the SQL that is used to retrieve the stories.

You definitely do not want the submitter to have that ability. You want the site administrator to determine the order.
 
McMasters
New Member
New Member



Joined: Sep 21, 2006
Posts: 1

PostPosted: Tue Oct 10, 2006 11:26 pm Reply with quote

7.8 installed via fantastico.
AutoTheme Pro installed. (which shouldn't affect the news module?)
Other then auto theme 7.8 is virgin.

I don't know if this helps. I am no php Guru by any means.

I tracked the "not being able to post problem" to the display_order field.

While the display_order field is in the nuke_stories table I can not post any news whatsoever. I can preview but not post.

This holds true when the hacked admin.php and two index.php's are in place as well as when I remove the hacks and return the admin.php and two index's to their virgin state.

It seems the added field prevents news from being posted???????????? As soon as I drop the field display_order, I can post again.

I am now giving up. It is beyond my abilities.

Like I said I don't know if this sheds any light on anything, but I hope it helps.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Oct 11, 2006 10:55 am Reply with quote

I haven't looked at the code for this hack. But I'm guessing its missing an field when its trying to do an INSERT into that table. You'd have to find that code and correct it

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©