ARGuestbook 0.9.4 - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: ARGuestbook 0.9.4 (/showthread.php?tid=1093) |
ARGuestbook 0.9.4 - Alessio_roma - 2010-11-02 Installation Notes: Copy the folder "ARGuestbook_Files" in the getsimple root folder Copy the ARGuestbook.php in the plugin folder Updates v 0.9.3: - Now the comments are loaded immediately without refresh the page - Added warnings for the inspection of nick, text and spam code - Solved the problem of sessions - Corrected some words on the interface Updates v 0.9.4: - fixed the problem of paths - now on the file of comments will save also the ip of the user - when the page haven't comments will be specified ARGuestbook 0.9.4 - Oleg06 - 2010-11-02 Notice: A session had already been started - ignoring session_start() in /home/cp068800/public_html/neowebtime.ru/0/plugins/ARGuestbook-ENG.php on line 10 Warning: Cannot modify header information - headers already sent by (output started at /home/cp068800/public_html/neowebtime.ru/0/plugins/ARGuestbook-ENG.php:10) in /home/cp068800/public_html/neowebtime.ru/0/admin/inc/cookie_functions.php on line 26 ARGuestbook 0.9.4 - Alessio_roma - 2010-11-03 Oleg06 Wrote:Notice: A session had already been started - ignoring session_start() in /home/cp068800/public_html/neowebtime.ru/0/plugins/ARGuestbook-ENG.php on line 10Perhaps you're using another plugin that uses a session,For curiosity when the notice is appeared? ARGuestbook 0.9.4 - Oleg06 - 2010-11-03 as soon as I copied your plugin ARGuestbook 0.9.4 - Alessio_roma - 2010-11-03 Oleg06 Wrote:as soon as I copied your pluginthe header session_start() is on ARGuestbook-ENG.php and your cookie_functions.php because probably we have different version of getsimple,in fact on my cookie_functions.php there isn't session_start() header P.S: There is a need that someone else try the plugin to verify the existence of the problem ARGuestbook 0.9.4 - Zegnåt - 2010-11-03 The warning about cookie_functions.php has nothing to do with the notice about sessions. All plugins should check whether there is an active session before starting one. As plugin developer you don’t know what other plugins are used so you can’t assume you have to start the session yourself. That’s the only logical fix. Code: if (session_id()=='') session_start(); ARGuestbook 0.9.4 - dominionit - 2010-11-04 Alessio_roma Wrote:Oleg06 Wrote:as soon as I copied your pluginthe header session_start() is on ARGuestbook-ENG.php and your cookie_functions.php because probably we have different version of getsimple,in fact on my cookie_functions.php there isn't session_start() header Hi there. He runs Dominion jCart I know as he test for me thus that will 10/1 be my sessions, also the gallery plugin uses sessions. I do check in my code like this Code: if(!isset($_SESSION)){ You can also do this before template is processed to insure it is available for all functions like this via the hook Code: add_action('index-pretemplate','ARguestbook_start_template'); that way you are insured that you are going to do in the template anywhere the session will be available. hope it helps have fun ARGuestbook 0.9.4 - Alessio_roma - 2010-11-04 i have uploaded a new version,please tell me how the plugin works,thanks ARGuestbook 0.9.4 - Oleg06 - 2010-11-04 how to connect a plug-in? ARGuestbook 0.9.4 - Alessio_roma - 2010-11-04 Sorry but i don't understand what do you mean,if you mean the link for download,it is in the first post ARGuestbook 0.9.4 - Oleg06 - 2010-11-04 what code should I insert the page to see your guestbook ARGuestbook 0.9.4 - Alessio_roma - 2010-11-05 enough to have the function get_page_content (); on the template and the guestbook will appear after the content of the page ARGuestbook 0.9.4 - Oleg06 - 2010-11-05 I'm sorry, I understood everything http://neowebtime.ru/00/ ARGuestbook 0.9.4 - Alessio_roma - 2010-11-05 i'm sorry,but also now i don't understand what do you mean,for see the guestbook you must put the folder ARGuestbook_Files in the root of getsimple that is the root of your site,after you put the ARGuestbook-ENG.php in the plugin folder you must check that in your template page there is <?php get_page_content(); ?> in the body,now the guestbook is visible. p.s: what is <? get_breadcrumbs ();?> ? ARGuestbook 0.9.4 - Oleg06 - 2010-11-05 I'm sorry, I understood everything http://neowebtime.ru/00/ but why is it needed on each page? shows the errors and messages are not sent Code: http://localhost/getsimple/ARGuestbook_Files/salva_commenti.php?nick=Your+nickname&commenti=Write+here+the+text&code= ARGuestbook 0.9.4 - Alessio_roma - 2010-11-05 Ah ok,now i understood in the next release i will improve this thing,however those errors are caused from a wrong installation of the plugin or probably from wrong destination of the form in ARGuestbook-ENG.php Can you do me a favor? You can try to modify it by removing / getsimple / from the target path of the form and destination of the variable $ _SESSION ['pageurl'] in Inizializza function, and then tell me if it works?Thanks However, it is strange because on my site works fine but the files of getsimple folder are located in the Site root,that is the getsimple folder doesn't exist EDIT: I have been anticipated by you ARGuestbook 0.9.4 - Alessio_roma - 2010-11-05 Is there a function that return the site url?or a variable?(in the docs there is only an echo function) ARGuestbook 0.9.4 - Alessio_roma - 2010-11-05 i have fixed the problem and i've upload 0.9.4 version ARGuestbook 0.9.4 - yojoe - 2010-11-05 Alessio_roma Wrote:Is there a function that return the site url?or a variable?(in the docs there is only an echo function)You can try to use php variable: $_SERVER['REQUEST_URI']; or variables used in GS like: $SITEURL, $TEMPLATE, but you'd have to concatenate them with strings to create paths. ARGuestbook 0.9.4 - Oleg06 - 2010-11-06 yes, worked I removed Code: http://localhost/getsimple/ ARGuestbook 0.9.4 - yojoe - 2010-11-06 Oleg06 Wrote:yes, worked problems with encoding ? Quote:Warning: file(/home/cp068800/public_html/neowebtime.ru/00/ARGuestbook_Files/Commenti/Oops! Page not found!.txt) [function.file]: failed to open stream: ��� ������ ����� ��� �������� in /home/cp068800/public_html/neowebtime.ru/00/plugins/ARGuestbook-ENG.php on line 95 ARGuestbook 0.9.4 - Oleg06 - 2010-11-06 I fixed the encoding there was already a plug-in comments, but there was no captcha, it can be turned on or off http://get-simple.info/forum/post/7418/#p7418 http://sex-after-18.com/igry/detective-rpg ARGuestbook 0.9.4 - yojoe - 2010-11-06 Is there any comments management for this guestbook ? Especially approvals. ARGuestbook 0.9.4 - Alessio_roma - 2010-11-06 yojoe Wrote:Alessio_roma Wrote:Is there a function that return the site url?or a variable?(in the docs there is only an echo function)You can try to use php variable: $_SERVER['REQUEST_URI']; Oleg06 Wrote:yes, workedthank you but you came late, I had already fixed in version 0.9.4, I found the $ SITEURL reading the file functions.php yojoe Wrote:Is there any comments management for this guestbook ?probably in the next version |