OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

BookLibary Component Support

Go to bottom Favoured: 0

Auto publish

cipa@cipanb.ca (Visitor)
Posts: 0
graphgraph
User Offline
Auto publish 14 Years, 7 Months ago
Karma: 0  
How can I let my users autopublish their books (on the frontend) without me having to approve them on the backend. Thanks
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Auto publish 14 Years, 7 Months ago
Karma: 102  
Hi,

In BookLibrary pro for now you can add auto publish for book only through code hack.

please go to file: "booklibrary.php"
find function "save_book_fe"
and after rows
Code:

if(get_magic_quotes_gpc()) {

$book->comment = stripslashes($book->comment);

}




Please add code:
Code:


$book->published = 1;



Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
cipa (Visitor)
Posts: 0
graphgraph
User Offline
SOLVED: Auto publish 14 Years, 7 Months ago
Karma: 0  
Great!!! Thanks for giving this hack. You've been much help...
Logged Logged
The administrator has disabled public write access.
Go to top
»