![]() |
OK, I got it fixed.
|
OK, I went to edit an article and got this error message:
Quote:
if ($action=="editarticle") { $sql = "SELECT * FROM vbArticles_content WHERE artid=$artid"; $result = mysql_query($sql); $myrow = mysql_fetch_array($result); $artid=$myrow["artid"]; $title=$myrow["title"]; $byline=$myrow["byline"]; ----> this is line 234 $author=$myrow["author"]; $date=$myrow["date"]; $content=$myrow["content"]; |
Does anyone know how to fix the above error?
|
I really like the idea behind this hack, but I cannot edit or delete anything.
Also, I would like to make this area of my forums accessible to paid members only, how would that be accomplished? Is this hack still being worked on? If so, could a link be added in the vew article area, there is no way to get back to the Article home page as it is right now. |
cindy, i visited your site and can access the articles section alright.
You have no link in view article to get back to the Main Articles Home page is because you editted your templates to take it out. Please check the viewarticle template again. It should have navi at the top just below your vb header. Also do you mean in your admincp , you are unable to delete and edit articles ? This shouldnt be the case if you installed correctly. Finally, for your paid members, did you place them in a special usergroup? If so, you can allow viewing access only to them by simple change of code in articles.php ( pretty much similiar to the code changes highlighted previously in this thread ) |
Quote:
Quote:
Quote:
So all I need is to get the editing and deleting fixed and I'll be very happy! Here is the error from when I try to edit or delete: OK, I went to edit an article and got this error message: Quote:
|
Quote:
Any others facing the same problem ? Jus went thru the code, seems in order ( then again, i might be missing something , pretty new to this too ) |
Cinq: I have gone over the installation again and that error remains. When I delete an article, I am told in the CP that it has been successful, but it really doesn't delete anything.
When I try to edit I get that error message and all the input boxes are blank. |
First off, thank you for making this wonderful hack cinq... i was wondering though... is there a way to setup permissions for posting articles? so that I could have some categories for users to post in and others for staff...
|
Solice, that's currently not planned and may not be too.
Do not have much free time on my hands right now :( |
All times are GMT. The time now is 09:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|