110mb.com Forum
News: Can't upload images in SiteBuilder on Box17? Solution here. | CGI/Perl/Python disabled on all servers. Updating it's security... | Ads trial to begin end of July/early Aug. More...
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 05, 2009, 02:14:47 AM


Login with username, password and session length


Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: php-fusion script change request  (Read 557 times)
Joey van Hummel
Economy Savior
Advanced Authority Member
*****
Online Online

Posts: 1225


Compos Mentis


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

The Mellie and Joey show Cheesy
EP 1 got abducted
EP 2
EP 3
EP 4
EP 5
Confuser
Creator of eoCMS
Loyal 110MB Member
*******
Online Online

Posts: 2858


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

Joey van Hummel
Economy Savior
Advanced Authority Member
*****
Online Online

Posts: 1225


Compos Mentis


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

The Mellie and Joey show Cheesy
EP 1 got abducted
EP 2
EP 3
EP 4
EP 5
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

  Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC

Theme by Dilber MC | Using SEO4SMF Mod

All content on this forum (especially posts) is copyright property of 110mb & the member
who wrote the post. So if you wish to steal anyone's post on this forum, you'll wish you
were dead because our lawyers will sue your ass!