Pages: [1]   Go Down
Send this topic | Print
Author Topic: php-fusion script change request  (Read 644 times)
iNDECiSiVE
iNDECiSiVE DUDE
Super Authority member
******
Offline Offline

Posts: 1562


yay for my new shoes


WWW
« on: February 05, 2008, 04:07:26 AM »

Hi!
I am using php-fusion on my site and I hate how I have to check everything the users submit everytime and I hate even more htere is no option to turn this of through the adminpanel. Now, I've been scrolling through the php codes and I can't get to change it correctly. (It always does something I don't like)

so basically, here is what I am requesting:
does anyone know how to turn this submitted items review of so that my users can directly submit items without me having to check this?
I am 100% sure that I want this and I use php-fusion 6.01.13
I think the files needed to change are:
submit.php (in phpfusion root)

Am I right and what do I need to change?
(I know it is about the dbquery stuff but I changed it but somehow i still need to review it..)
thanks!
Logged

http://melchiormphilips.com/MellieAndJoey/
There will soon be new energy drink reviews! (After Sony vegas decides to work again), we've recorded 5 new episodes! And we found one that doesn't look like piss!
Confuser
Creator of eoCMS
Loyal 110MB Member
*******
Online Online

Posts: 3128


The Forum's Angel


WWW
« Reply #1 on: February 05, 2008, 04:28:29 AM »

Look in the php-fusion database, in the articles table, there maybe something there that says whether it has been approved or not that has a default of 0 or something if it does have zero, change it to 1 for a default

NOTE: Back up your database before changing stuff!!!
Logged

iNDECiSiVE
iNDECiSiVE DUDE
Super Authority member
******
Offline Offline

Posts: 1562


yay for my new shoes


WWW
« Reply #2 on: February 05, 2008, 04:51:48 AM »

wouldn't that be per item? than approving it would be easier..
I checked the submit.php to see how it stores the items, and it stores them into the submissions table, whereas actual approveditems are stored in (for news) news table
so it does not have to do with a 1 for approved or 0 for not approved (as some blogs for example do)

thanks for your answer anyway Smiley

EDIT: see the source of submit.php self, and the source of submissions.php (in adminstration folder) to see where it stores approved items (the submissions.php is the script that has the data in it that can approve items..)

http://t2b.110mb.com/showsource.php?file=submit.php   for the submit.php
http://t2b.110mb.com/showsource.php?file=submissions.php   for the submissions file

(yes, i did secure this script o othat only these two files are allowed)
« Last Edit: February 05, 2008, 05:26:26 AM by joeyvanhummel » Logged

http://melchiormphilips.com/MellieAndJoey/
There will soon be new energy drink reviews! (After Sony vegas decides to work again), we've recorded 5 new episodes! And we found one that doesn't look like piss!
Pages: [1]   Go Up
Send this topic | Print
Jump to: