vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - vBulletin Guestbook (https://vborg.vbsupport.ru/showthread.php?t=172212)

jluerken 03-07-2008 11:41 AM

Quote:

Originally Posted by Hasann (Post 1459220)
your guestbook table doesnt exist buddy
Table 'ke_forum.guestbook' doesnt exist

`yazan` , `sehir` , `site` , `mesaj` , `not` , `tarih` , `baslik`

`poster` , `city` , `website` , `message` , `rating` , `date` , `title`

Yes I know that its not there but shouldn't your product install the tables?
It would be nice if you could use the english field names in future instead of the turkish
one cause not everyone understands this and it makes life more easier while working in the db

Ok I found the error. I am using a db prefix and the table was installed correctly with prefix_guestbook.
Your INSERT command is missing the prefix option :-)

Hasann 03-07-2008 11:50 AM

Quote:

Originally Posted by jluerken (Post 1459225)
Yes I know that its not there but shouldn't your product install the tables?
It would be nice if you could use the english field names in future instead of the turkish
one cause not everyone understands this and it makes life more easier while working in the db

Ok I found the error. I am using a db prefix and the table was installed correctly with prefix_guestbook.
Your INSERT command is missing the prefix option :-)

Okei thank you for your comment the problem is fixed and zip file updated now ;)

jluerken 03-07-2008 12:06 PM

Quote:

Originally Posted by Hasann (Post 1459234)
Okei thank you for your comment the problem is fixed and zip file updated now ;)

Hi Hasann,

can you upload the new version as new 2.0.1 zip file?
I have problems with reuploading the files, its still showing the old INSERT command.
In guestbook.php on line 385 its still saying "INSERT INTO `guestbook` " and missing the prefix.

Hasann 03-07-2008 12:18 PM

Quote:

Originally Posted by jluerken (Post 1459247)
Hi Hasann,

can you upload the new version as new 2.0.1 zip file?
I have problems with reuploading the files, its still showing the old INSERT command.
In guestbook.php on line 385 its still saying "INSERT INTO `guestbook` " and missing the prefix.

okei sorry I have forgotten to upload but now uploaded new version :D

jluerken 03-07-2008 12:26 PM

Quote:

Originally Posted by Hasann (Post 1459255)
okei sorry I have forgotten to upload but now uploaded new version :D

Hi Hasann,

1. this is not fixing the problem
PHP Code:

Invalid SQL:

    
INSERT INTO PREFIXguestbook 

I Think it should be
PHP Code:

" . TABLE_PREFIX . " 

instead

2. Hasann, I have also seen a lot of english phrase mistakes.
"You have been your message successfully sent!!" for example is not correct.
Use for example "Your message was entered successfully!" instead

3. In the product .xml File you've forgotten one phrase
Quote:

<input type="submit" class="button" name="sbutton" value="Submit" accesskey="s" tabindex="1" />
You should use the vbulletin global phrase submit here
Quote:

<input type="submit" class="button" name="sbutton" value="$vbphrase[submit]" accesskey="s" tabindex="1" />

Hasann 03-07-2008 12:37 PM

Quote:

Originally Posted by jluerken (Post 1459260)
Hi Hasann,

this is not fixing the problem
PHP Code:

Invalid SQL:

    
INSERT INTO PREFIXguestbook 

I Think it should be
PHP Code:

" . TABLE_PREFIX . " 

instead

Hasann, I have also seen a lot of english phrase mistakes.
"You have been your message successfully sent!!" for example is not correct.
Use for example "Your message was entered successfully!" instead

I hope now it is fixed
and the phrases fixed too :)

medforum 03-07-2008 12:40 PM

Tebrikler hasan kardeş

Triky 03-07-2008 12:45 PM

Quote:

Originally Posted by Hasann (Post 1459174)

ENOUGH? :D:D:D

I mean(t): what's the point on having a guestbook on your vBulletin forum? :erm:

jluerken 03-07-2008 12:51 PM

Hi Hasann, its me again :D
It seems that I become your favorite bug tester hrhr

In the .xml file pls. change
PHP Code:

<!-- message area -->
        <
div class="smallfont">Edit Message:</div>        
        
$messagearea
        
<!-- / message area --> 

to
PHP Code:

<!-- message area -->
        <
div class="smallfont">$vbphrase[guestbook_edit]:</div>        
        
$messagearea
        
<!-- / message area --> 


SuperDave71 03-07-2008 03:40 PM

I had a database error as well but I uninstalled the previous version of Guest book...and reinstalled the new one and it works perfectly.

I have one suggestion. On the messages that require modification, could an email notification be added?

GREAT MOD by the way! Thank you so much!!

-Dave


All times are GMT. The time now is 12:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01783 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete