Author |
Message |
dionsis
New Member


Joined: Aug 12, 2005
Posts: 4
|
Posted:
Fri Aug 12, 2005 3:50 pm |
|
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! |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sat Aug 13, 2005 12:30 pm |
|
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! |
|
|
 |
dionsis

|
Posted:
Sat Aug 13, 2005 12:51 pm |
|
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


Joined: Jun 23, 2005
Posts: 3
|
Posted:
Fri Feb 10, 2006 12:28 pm |
|
It does not work with unpatched 7.9. It totally broke my news. |
|
|
|
 |
jaded
Theme Guru

Joined: Nov 01, 2003
Posts: 1006
|
Posted:
Fri Feb 10, 2006 2:58 pm |
|
|
|
 |
funnsun34

|
Posted:
Mon Feb 13, 2006 8:18 am |
|
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
|
Posted:
Mon Feb 13, 2006 8:44 am |
|
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. |
|
|
|
 |
funnsun34

|
Posted:
Mon Feb 13, 2006 9:43 am |
|
the site can't be access from the internet.... it's a intranet site
thanks for the heads up though |
|
|
|
 |
rustyhook
New Member


Joined: Jan 12, 2006
Posts: 15
|
Posted:
Mon Jun 05, 2006 6:32 am |
|
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. |
|
|
|
 |
kguske

|
Posted:
Mon Jun 05, 2006 11:23 am |
|
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

|
Posted:
Tue Jun 06, 2006 9:50 am |
|
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

|
Posted:
Tue Jun 06, 2006 12:00 pm |
|
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


Joined: Sep 21, 2006
Posts: 1
|
Posted:
Tue Oct 10, 2006 11:26 pm |
|
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. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Oct 11, 2006 10:55 am |
|
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! |
|
|
 |
|