Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ARGuestbook 0.9.4
#1
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
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#2
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
Reply
#3
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 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
Perhaps you're using another plugin that uses a session,For curiosity when the notice is appeared?
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#4
as soon as I copied your plugin
Reply
#5
Oleg06 Wrote:as soon as I copied your plugin
the 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
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#6
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();
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#7
Alessio_roma Wrote:
Oleg06 Wrote:as soon as I copied your plugin
the 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


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)){
       session_start();
     }

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');

function ARguestbook_start_template(){
     if(!isset($_SESSION)){
       session_start();
     }
}

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
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#8
i have uploaded a new version,please tell me how the plugin works,thanks
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#9
how to connect a plug-in?
Reply
#10
Sorry but i don't understand what do you mean,if you mean the link for download,it is in the first post Wink
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#11
what code should I insert the page to see your guestbook
Reply
#12
enough to have the function get_page_content (); on the template and the guestbook will appear after the content of the page
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#13
I'm sorry, I understood everything
http://neowebtime.ru/00/
Reply
#14
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 ();?> ?
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#15
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=
Reply
#16
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
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#17
Is there a function that return the site url?or a variable?(in the docs there is only an echo function)
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#18
i have fixed the problem and i've upload 0.9.4 version
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply
#19
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.
Addons: blue business theme, Online Visitors, Notepad
Reply
#20
yes, worked
I removed
Code:
http://localhost/getsimple/
http://neowebtime.ru/00/ARGuestbook_File...p?id=index
Reply
#21
Oleg06 Wrote:yes, worked
I removed
Code:
http://localhost/getsimple/
http://neowebtime.ru/00/ARGuestbook_File...p?id=index

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

Warning: Invalid argument supplied for foreach() in /home/cp068800/public_html/neowebtime.ru/00/plugins/ARGuestbook-ENG.php on line 96
Addons: blue business theme, Online Visitors, Notepad
Reply
#22
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
Reply
#23
Is there any comments management for this guestbook ?
Especially approvals.
Addons: blue business theme, Online Visitors, Notepad
Reply
#24
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'];
or variables used in GS like: $SITEURL, $TEMPLATE, but you'd have to concatenate them with strings to create paths.
Oleg06 Wrote:yes, worked
I removed
Code:
http://localhost/getsimple/
http://neowebtime.ru/00/ARGuestbook_File...p?id=index
thank 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 ?
Especially approvals.
probably in the next version Wink
My Site: The Harad's Forge
Do you want a guestbook on pages or on news manager articles?Download my GS plugin: ARGuestbook
Reply




Users browsing this thread: 2 Guest(s)