vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Webpage & Guestbook Script (https://vborg.vbsupport.ru/showthread.php?t=71065)

Swedie 11-26-2004 07:30 PM

Quote:

Originally Posted by urmyantichrist
Okay, in the admincp, my webpage/guestbook prefrences hasn't changed at all... What did I miss? I'm reallllllllly confused!

Did you click "Save"... did it say that everything updated correctly? Then it works. There is a problem somewhere else.

Quote:

Originally Posted by urmyantichrist
Also, the webgbset.php is only coming up as a blank page for me... What am I doing wrong?

This is not a page you access through the web. you open it up with your preferred file editor. There are lines in there to change. then you upload the file to the server again with the changes you did.

If you do not understand, use above Instant messengers to contact me and I shall assist you the best I can.

Swedie 11-26-2004 07:33 PM

ChuanSE, another thing. The reason the page did not show for "tteal" was that he placed the code in member.php in the wrong place. Take a look at the member.php file to ensure that you didn't paste all my code inside another so called "action", then it will most likely not show up at all.

And he had also not enabled "can have webpage" and "can have guestbook" in all the usergroups! REMEMBER, this script comes with ALL values for Usergroups set as NO! Meaning that you will NOT see any webpages on your users profile pages unless you enable them in the Usergroup manager!

Snow 11-26-2004 07:35 PM

Quote:

Originally Posted by Swedie
Quote:

Originally Posted by snow
I've gone through all the queries one by one again, and it doesn't look like I've missed any others, but....... for people to view the guestbook and webpage, I have to give them permission to have a guestbook/webpage. i.e. the view guestbook/webpage settings don't appear to be working for me. What have I overlooked?

good thing you figured that out. you must've come inbetween an update i did..

I still have the problem that no one can actually see the webpage/guestbook unless they have the permission to have a webpage/guestbook. I've attached a screenshot of the settings for the unregistered usergroup which I believe mean that guests should be able to see my webpage and guestbook in my profile, but unless I'm going blind, the webpage and guestbook aren't visible. I've re-installed at least 3 times today and it still doesn't work.

Snow 11-26-2004 07:39 PM

Quote:

Originally Posted by Swedie
And he had also not enabled "can have webpage" and "can have guestbook" in all the usergroups! REMEMBER, this script comes with ALL values for Usergroups set as NO! Meaning that you will NOT see any webpages on your users profile pages unless you enable them in the Usergroup manager!

So you're saying that for guests (and junior members in my case) I have to give them permission to set up a webpage and guestbook so that they can view other people's webpage's and guestbooks?

ChuanSE 11-26-2004 07:41 PM

Ah Swedie, i'll contact ya mate ;)

and i have done all those things. I'm installing my 50th hack i guess :p (not all on last board :p). Getting the hang of it, i'm sure i could find the error if i searched for a week. But it's your baby, you will know why she's i'll in one sec :p

Swedie 11-26-2004 07:42 PM

Quote:

Originally Posted by Snow
So you're saying that for guests (and junior members in my case) I have to give them permission to set up a webpage and guestbook so that they can view other people's webpage's and guestbooks?

Good one! Let me have a look at this. I just now understand what you actually ment.

Swedie 11-26-2004 08:40 PM

If you do not have "Allow HTML" or "Allow vBcode" options on the Guestbook & Webpage Preferences page.. then run this query:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 50, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 51, 0, 1);

then go into your settings and Save everything!

shortbus1662 11-26-2004 08:56 PM

does anyone have this up on an english site? A link would be great!

thanks

Swedie 11-26-2004 09:04 PM

Everyone! Download this new template file for MEMBERINFO. I reduced the size of it and maybe fixed a bug that some of you may encounter.

There is a new version coming out soon taht will have a fix for the problem where the first post is counted twice ...

Swedie 11-26-2004 09:12 PM

Quote:

Originally Posted by shortbus1662
does anyone have this up on an english site? A link would be great!

thanks

not my site, but i just made this script work on this site:
http://community.ddance.fm/member.php?u=52 (my profile though)

Swedie 11-26-2004 11:01 PM

I just uploaded the new ZIP file. It holds a new script for member.php. Usergroup issues are fixed! Halleluja!

Also update the MEMBERINFO template with the new template info in template_memberinfo.txt.

Sorry for me being such a retard saying everything is GOOD.. when it's not. But this time... hehe.. I think it's good =)

Swedie 11-26-2004 11:06 PM

I included a feature to FIX the problem with counters saying 2 when there's only one guestbook entry. Place: fixcount(); on its own row just before my script in member.php and it will clean up the mess. Then after this Remove this line... it's dumb to leave it in it. Could slow down queries when you're starting to get thousand and thousands of guestbook entries.

urmyantichrist 11-27-2004 12:06 AM

Found my problem... Skipped the first part and forgot to upload upgrade.sql! D'oh!!

Thanks!!

paulmjno 11-27-2004 03:46 AM

Could you please create an uninstall script? To take away all the info it inserted into the database? I'd like to do a fresh re-install.

Snow 11-27-2004 07:48 AM

Quote:

Originally Posted by Swedie
I just uploaded the new ZIP file. It holds a new script for member.php. Usergroup issues are fixed! Halleluja!

Also update the MEMBERINFO template with the new template info in template_memberinfo.txt.

Sorry for me being such a retard saying everything is GOOD.. when it's not. But this time... hehe.. I think it's good =)

It looks like it's working now. :classic: thank you.

Swedie 11-27-2004 10:21 AM

Quote:

Originally Posted by paulmjno
Could you please create an uninstall script? To take away all the info it inserted into the database? I'd like to do a fresh re-install.

Maybe later, for now you'll have to simply go backwards in the installation script.

Database entries might be a little harder to undo though if you have no experience in modifying databases. But I don't see a reason to edit input in the database if you're gonna remove all and install fresh. Unless you seriously messed up the database and don't know what you inserted.

Contact me over any of my listed Instant Messenger programs and I'll assist you on the installation.

Swedie 11-27-2004 12:06 PM

An update!!!
I simplified and improve the modify_webpage template and profile.php scripts.

Download and update your file and template with below two files.

Changes
* HTML or vBcode Switch button won't show if one of them is disabled through admin (mostly just to confuse your users less.. otherwise they might be clicking the button and don't understand why it is not switching!)
* Moved it to a better position. Could be be mistaken as the Submit button and hence all currently changed info is lost due to it! a sad "oops".

Scerina 11-27-2004 12:17 PM

Swedie: Thank you so much for taking the time out to install this hack on my forums...you are pure genius...God bless your precious soul!!!! You ROCK!!!!! I will be forever grateful to you and both my members & I truly appreaciate all you have done.

MojoNixon 11-27-2004 02:02 PM

mate please tell us which files we need ...its really confusing now ...

Swedie 11-27-2004 02:50 PM

Quote:

Originally Posted by MojoNixon
mate please tell us which files we need ...its really confusing now ...

depends on what you want to do. If you want to play Half-life 2 you double-click the hl2.exe file and the game will start. You want me to specify but why not you specify what you are trying to do?

Swedie 11-27-2004 02:51 PM

To everyone! If you do not have this script installed yet. download like normal, the .ZIP file.

If you plan on upgrading from the very first release... download the .ZIP file and read the upgrade instructions file.

MojoNixon 11-27-2004 03:36 PM

i want to run that script. YOUR script. I haven´t installed it yet..so i just need to download that zipfile or i need the attachements too?

Swedie 11-27-2004 04:48 PM

Quote:

Originally Posted by MojoNixon
i want to run that script. YOUR script. I haven?t installed it yet..so i just need to download that zipfile or i need the attachements too?

I am an ass but I just said what to do:
To everyone! If you do not have this script installed yet. download like normal, the .ZIP file.

If you plan on upgrading from the very first release... download the .ZIP file and read the upgrade instructions file.

steadicamop 11-27-2004 05:39 PM

I've got it installed, a wonderful peice of kit, although I have an error on the page :

Quote:

Line: 967
Char: 52
Error: Syntax error
Code: 0
URL: http://localhost/profile.php?do=editwebpage
Now I've looked at that line, here it is:

Code:

                <td class="smallfont" colspan="5">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, , ''); return false" title="Showing 25 smilies of 65 total.">More</a>]</td>
After trying to click on the "More" link, nothing happens. Any ideas?

TIA

JW

Swedie 11-27-2004 06:51 PM

Quote:

Originally Posted by JasonWilliams
I've got it installed, a wonderful peice of kit, although I have an error on the page :



Now I've looked at that line, here it is:

Code:

                <td class="smallfont" colspan="5">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, , ''); return false" title="Showing 25 smilies of 65 total.">More</a>]</td>
After trying to click on the "More" link, nothing happens. Any ideas?

TIA

JW

In profile.php locate:
$show['moresmilieslink'] = iif ($totalsmilies > $vboptions['smtotal'], true, false);
ADD THIS BEFORE
$wysiwyg = 0;

There are two instances of this in profile.php. One somewhere around line 271 and the other one around 385.

New .ZIP file includes this fix already.

MojoNixon 11-27-2004 06:58 PM

i´m installing right away... i give you a feedback here when its finished and hopefully working...

MojoNixon 11-27-2004 08:36 PM

Ok ..i have just finished with install and i followed very carefully all instructions ...

ALL is fine...HTML is working... and there are no problems at the moment. :)

steadicamop 11-27-2004 09:45 PM

Quote:

Originally Posted by Swedie
In profile.php locate:
$show['moresmilieslink'] = iif ($totalsmilies > $vboptions['smtotal'], true, false);
ADD THIS BEFORE
$wysiwyg = 0;

There are two instances of this in profile.php. One somewhere around line 271 and the other one around 385.

New .ZIP file includes this fix already.

Thank you so much, I've had to uninstall it as something went belly up, will reinstall it and add the extra bits.

Thanks,

Jason

MojoNixon 11-27-2004 11:41 PM

One thing to mention here:

the smilies in the guestbooks are not working..but they are enabled. how can i fix it?

Swedie 11-27-2004 11:49 PM

Quote:

Originally Posted by MojoNixon
One thing to mention here:

the smilies in the guestbooks are not working..but they are enabled. how can i fix it?

Have you enabled it both in your Personal profile settings and in the vBulletin Administration area for the Webpage and Guestbook script?

MojoNixon 11-28-2004 12:53 AM

Yes..both settings are enabled...hm will have to check it out...

CSS59 11-28-2004 03:29 AM

anyone who did this want to post a link so I can check it out?

steadicamop 11-28-2004 07:29 AM

I've installed it again, with the extra wysiwyg code in, but this time when the page loads it's fine, except when you click on "More", then another error appears:

Quote:

Line: 967
Char: 1
Error: 'smiliewindow_x' is undefined
Code: 0
URL: http://localhost/profile.php?do=editwebpage
Here is the code from that line

Code:

                <td class="smallfont" colspan="5">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, 0, ''); return false" title="Showing 25 smilies of 65 total.">More</a>]</td>
It works better now so will leave it with this slight issue, will keep checking back for any solutions.

Thanks

<edit>
Damn I get another error, this time when my mouse moves over the Guided or Enhanced mode options just above the text box.

Here's the error:

Quote:

Line: 97
Char: 2
Error: 'istyles' is undefined
Code: 0
URL: http://localhost/profile.php?do=editwebpage
Here's that line of code:

Code:

.thead a:hover, .thead a:active
{
        color: #FF4400;

It's actually the "{" in the centre that the line refers to.

Sorry for the hassle!!</edit>

ogetbilo 11-28-2004 02:38 PM

Swedie I was tryng to update with the new version you upload last week and update.sql didnt work. It gave a problem that sometable already exists and now everything in the database about guestbook is messed up :)
I will try to fix that and re install everything. Hope this time it will work...

influence 11-28-2004 03:18 PM

is this great hack working now because I am seeing new update and fixes every hour or so and i dont want to keep updating files or having to check this thread every seconds for new fixes

influence 11-28-2004 03:20 PM

Quote:

Originally Posted by Swedie
not sure i completely understand what you mean. Try again.


Ok let me try to explain this one more time. Is there anyway we can include the default vbulletin profile info into your hack? like build a left table panel with the user default info instead of them being below like that.

u know what let me find an example for u.

ok here we go. like this

http://members.migente.com/john1880/

Swedie 11-28-2004 04:05 PM

Quote:

Originally Posted by influence
Ok let me try to explain this one more time. Is there anyway we can include the default vbulletin profile info into your hack? like build a left table panel with the user default info instead of them being below like that.

u know what let me find an example for u.

ok here we go. like this

http://members.migente.com/john1880/

no, i only supply a webpage and a guestbook. i won't touch anything else.

influence 11-28-2004 04:33 PM

i just notice that. your hack was just a include feature inside the default vbulletin profile

Swedie 11-28-2004 05:06 PM

Quote:

Originally Posted by MojoNixon
Yes..both settings are enabled...hm will have to check it out...

Please go into member.php and somewhere around line 1087 you will find:
$text = parse_bbcode($split['4'], $settingsmilies, 1);
Replace with:
$text = parse_bbcode2($split['4'], 0, 0, $settingsmilies, 0);

That will fix your problem.

Swedie 11-28-2004 05:09 PM

Quote:

Originally Posted by ogetbilo
Swedie I was tryng to update with the new version you upload last week and update.sql didnt work. It gave a problem that sometable already exists and now everything in the database about guestbook is messed up :)
I will try to fix that and re install everything. Hope this time it will work...

Can you please tell me WHAT it said "duplicate entry" on so that I can check? I successfully upgraded from the old version to the new version. There has been no database changes since it went somewhat "final".

Contact me over any instant messanger:
AOL: R1Swedie
Yahoo: johnny_nosepicker

i'll try and assist you the best I can (let me in on vBulletin admni and databases and I'll fix it for you).


All times are GMT. The time now is 09:14 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.02091 seconds
  • Memory Usage 1,846KB
  • 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
  • (4)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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