The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#632
|
||||
|
||||
Quote:
|
#633
|
|||
|
|||
After Upgrade to 3.0.7 i loss the Option (Under Vbulletín Options) "Guestbook / Webpage Preferences" and the hack is not working.
I'm sure that all templates, and files edits are OK. Can you tell me what query i need run again to have this hack working ? Thanx in advance. |
#634
|
|||
|
|||
Quote:
Code:
INSERT INTO `settinggroup` (grouptitle, displayorder, volatile) VALUES ('guestbookwebpage', 199, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('allowguestbook', 'guestbookwebpage', '1', '1', 'yesno', 10, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('allowwebpage', 'guestbookwebpage', '1', '1', 'yesno', 20, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('guestbooksmilies', 'guestbookwebpage', '1', '1', 'yesno', 30, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 40, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 50, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpagesmilies', 'guestbookwebpage', '1', '1', 'yesno', 60, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpagevbcodeorhtml', 'guestbookwebpage', 'vbcode', '1', '<select name=\\"setting[$setting[varname]]\\" tabindex=\\"1\\" class=\\"bginput\\">\n<option value=\\"vbcode\\" " . iif($setting[\'value\']==\'vbcode\',\'selected="selected"\') . ">$vbphrase[wg_vbcode]</option>\n<option value=\\"html\\" " . iif($setting[\'value\']==\'html\',\'selected="selected"\') . ">$vbphrase[wg_html]</option>\n</select>', 70, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('allowedhtmltags', 'guestbookwebpage', '<hr><a><br><b><h1><h2><h3><h4><i><img><li><ol><p><strong><table><tr><td><th><u><ul><font><b><div><center>', '<a><br><b><h1><h2><h3><h4><i><img><li><ol><p><strong><table><tr><td><th><u><ul><font><b><div><center>', 'textarea', 80, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageadvanced', 'guestbookwebpage', '1', '1', 'yesno', 90, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('gb_notification', 'guestbookwebpage', 'pm', 'pm', '<select name=\\"setting[$setting[varname]]\\" tabindex=\\"1\\" class=\\"bginput\\">\n<option value=\\"no\\" " . iif($setting[\'value\']==\'no\',\'selected="selected"\') . ">$vbphrase[wg_no]</option>\n<option value=\\"pm\\" " . iif($setting[\'value\']==\'pm\',\'selected="selected"\') . ">$vbphrase[wg_sendpm]</option>\n<option value=\\"email\\" " . iif($setting[\'value\']==\'email\',\'selected="selected"\') . ">$vbphrase[wg_sendemail]</option>\n</select>', 100, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('gb_showavatar', 'guestbookwebpage', '1', '0', 'yesno', 110, 0, 1); INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('gb_avatarheight', 'guestbookwebpage', '50', '50', '<input name=\\"setting[gb_avatarheight]\\" size=1 class=\\"bginput\\" value=\\"".$setting[\'value\']."\\">', 120, 0, 1); |
#635
|
|||
|
|||
That's Work Perfectly.
Thanx Amigo |
#636
|
|||
|
|||
I'm trying to install it, and when I run the insert.sql this is the error I get
An error occurred while attempting to execute your query. The following information was returned. error number: 1064 error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '; CREATE TABLE `user_webpage` ( `userid` int(11) NOT NULL Does anyone know what I"m doing wrong? |
#637
|
|||
|
|||
Anyone have any ideas why I keep getting that error?
|
#638
|
||||
|
||||
Quote:
Quote:
|
#639
|
||||
|
||||
I have identified a bug with the current version. If you post a ' (that character) and tries to post anything again in that guestbook it won't enter, so don't do that for now. The new version will have this issue resolved.
I am testing version 1.0.2 on my own site and I'm just collceting a bit more input before releasing it to you all. |
#640
|
|||
|
|||
Ya I was trying to use the admin area, I used myphp and got it to work.
but doh, just noticed your post about hte bug in 1.01. Hopefully it will be easy to upgrade from 1.0.1 to 1.0.2 thanks again for this hack, it's great!! |
#641
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|