Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1775

PostPosted: Fri Apr 02, 2010 5:43 pm Reply with quote

hey guys!

News/admin/index.php:

How can i add the $notes inputfield in the function adminStory. I want type the notes in the first step. the inputfield is alreday added to this function but i can not send inputs to the datebase.

it is possible?
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Apr 02, 2010 5:47 pm Reply with quote

Are you aware that only an admin or the author can read the notes?

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
neralex







PostPosted: Fri Apr 02, 2010 6:00 pm Reply with quote

yes, but i have rewrite the $notes. i show with the $notes a textline. it works fine but i can send the textline only over the function editStory to the database. but i can not send this over the function adminStory.

i must save my ID to first and then can i add my textline to database. but i want save the notes with the first save.
 
Guardian2003
Site Admin



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

PostPosted: Sat Apr 03, 2010 12:47 am Reply with quote

I cannot see any where in that function where the SQL query is even getting the notes data so thats probably a good place to start.
 
View user's profile Send private message Send e-mail
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sat Apr 03, 2010 2:41 am Reply with quote

It is interesting that you have raised this point, I think it is the first time anybody has mentioned it in the forum, but it was something that I raised during the recent testing because I was using the notes field on a site I was developing.

I think everybody was in agreement that an admin should be able to access it from the start, but unfortunately it was too late to include it in the latest release.

I know this doesn't help you at the moment, but I will post a link to this forum topic in our issue tracker and maybe one of our developers will be able to help.

One quick fix I did was to comment out the IF statement in the autoEdit function, this means that the notes field appears for programmed articles. I know this isn't what you want, but it doesn't mean you can add notes before the article is published.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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 ©