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 04-05-2005 07:27 PM

Quote:

Originally Posted by Snow
Swedie :nervous: :nervous: it's not working for me either, I still can't delete or edit entries, other than that, everything else looks OK at the moment. I can give you access to my forum if you don't believe me and you can try deleting/editing the entries yourself. BTW, I think it works if there's only one entry in the guestbook, it's when there's more than one that it doesn't work.

Is this with your guestbook only or with everyone elses on the board as well? I have a hint what it could be... If you give me complete access I will take a look. I'll need to take a look in your database (specifically the guestbook table).

Snow 04-05-2005 07:30 PM

Quote:

Originally Posted by Swedie
Is this with your guestbook only or with everyone elses on the board as well? I have a hint what it could be... If you give me complete access I will take a look. I'll need to take a look in your database (specifically the guestbook table).

It happens to anyone who has more than one entry in their guestbook, I'll PM you the access details as soon as I post this post.

Lizard King 04-05-2005 10:58 PM

I figured out something really interesting. I can edit any users or admins guestbook entry or delete their entry. But the if the user is uneditable in config.php you cannot edit any entry that has been entered to that user. I am not a coder but i think we can figure out a way for this.
Snow can you also try this.

cdoyle 04-05-2005 11:01 PM

just installed the update on my test forum, so far so good. Going to have my mods try it out, and let me know what they think.

:)

CommunityZ 04-06-2005 03:25 AM

I just installed this hack and found this "error"
The location of Last Update : xxxxxx is capture1 and i want to make changes so it appears like capture2
and my another problem with the location of smiles is like capture3 and i would like it to appear as like capture4. See attachments. Thank you.

Lizard King 04-06-2005 11:06 AM

Swedie also I have another problem. If a user will not use a signature then their guestbook will not be seen in their profile. Is there a way to solve this ?

Snow 04-06-2005 05:06 PM

Quote:

Originally Posted by Lizard King
I figured out something really interesting. I can edit any users or admins guestbook entry or delete their entry. But the if the user is uneditable in config.php you cannot edit any entry that has been entered to that user. I am not a coder but i think we can figure out a way for this.
Snow can you also try this.

No :( I can't edit any guestbooks belonging to my members either unless they have only one entry in the guestbook.

Swedie 04-07-2005 11:08 AM

Quote:

Originally Posted by Snow
No :( I can't edit any guestbooks belonging to my members either unless they have only one entry in the guestbook.

Reply to my PM. There is something wrong with your PHP files.

Swedie 04-07-2005 11:09 AM

EVERYONE that downloaded version 1.02 before this post, please download the new version 1.02 (kept same version number as it is such as small update). It makes post counts for the guestbook work. I forgot to fix that before.

Just copy the new content from file_memberphp.txt over to member.php and replace old code. Simple update.

Swedie 04-07-2005 11:12 AM

Quote:

Originally Posted by Lizard King
Swedie also I have another problem. If a user will not use a signature then their guestbook will not be seen in their profile. Is there a way to solve this ?

huh? You must've pasted the new HTML code at the wrong place in your MEMBERINFO template.

Swedie 04-07-2005 11:14 AM

Quote:

Originally Posted by CommunityZ
I just installed this hack and found this "error"
The location of Last Update : xxxxxx is capture1 and i want to make changes so it appears like capture2
and my another problem with the location of smiles is like capture3 and i would like it to appear as like capture4. See attachments. Thank you.

Version 1.02 has this already. Except for your first wish. I won't include that.

Snow 04-07-2005 11:34 AM

Quote:

Originally Posted by Swedie
Reply to my PM. There is something wrong with your PHP files.

oh :disappointed: .... I sent you the required details, hope you can help because I can't figure it out.

Deviant++ 04-07-2005 11:53 AM

I find something like this much simpler to do with vba cmps modules.

Snow 04-07-2005 11:57 AM

Quote:

Originally Posted by Deviant++
I find something like this much simpler to do with vba cmps modules.

Not everyone has a CMS or portal installed though, nor do they need a full blown CMS/portal.

Lizard King 04-07-2005 01:52 PM

Quote:

Originally Posted by Swedie
huh? You must've pasted the new HTML code at the wrong place in your MEMBERINFO template.

Swedie I send you the all the details. Can you check that for me please ? Because I'm pretty sure I pasted it to the right place.

T3MEDIA 04-08-2005 04:52 AM

Quote:

Originally Posted by Snow
It happens to anyone who has more than one entry in their guestbook, I'll PM you the access details as soon as I post this post.

No I dont think it has to do with how many posts. I find I loose power to remove guest books if the user is a member over a period of time. It almost seems to work with reputation or something. If a user get a few posts after awhile you cant delete thier guestbook postings. Sweed never got back to me so I dropped it. but I do wish you guys luck.

T3MEDIA 04-08-2005 04:53 AM

I wish there was clear updates. Like what happens when a user installed the first version. how do they update?

Lizard King 04-08-2005 10:59 AM

T3MEDIA what are you trying to do ? I don't know how many times you said you quit in this hack and i am really fed up to see you are coming here and start blaming Swedie. If you dont wanna use this hack Don't use. I appriciate Swedie's work and so you must to. If you dont want to then ignore this thread but stop acting like a 6 year old boy.

T3MEDIA 04-08-2005 12:29 PM

Quote:

Originally Posted by Lizard King
T3MEDIA what are you trying to do ? I don't know how many times you said you quit in this hack and i am really fed up to see you are coming here and start blaming Swedie. If you dont wanna use this hack Don't use. I appriciate Swedie's work and so you must to. If you dont want to then ignore this thread but stop acting like a 6 year old boy.

WTF? Who are you son?
Man shut up. I can say what I want. I didnt slander Sweed in anyway. what? This guy asked a question I answered. I even said good luck. What?
Your tired? take your own advice.
What? Yo. Go run that :up: over there. Feel me?

Lizard King 04-08-2005 02:42 PM

First thing who is Sweed and I still see you as a 6 year old boy who wants to be noticed by everyone "hey look i am here notice me donot ignore me".

Swedie 04-08-2005 05:12 PM

Calm down everyone. I will not give the kind of support you're asking for. I just don't have the time for it. I'm trying to figure out Snow's problem right now. I take one at a time. I'll move on to Lizard King after this.

T3Media, I'll help but please calm the f down. I think I know what the problem, so you can just chill down a few steps will you please. It is absolutely NOT helping to be an ass.

Swedie 04-08-2005 07:25 PM

Quote:

Originally Posted by Swedie
Calm down everyone. I will not give the kind of support you're asking for. I just don't have the time for it. I'm trying to figure out Snow's problem right now. I take one at a time. I'll move on to Lizard King after this.

T3Media, I'll help but please calm the f down. I think I know what the problem, so you can just chill down a few steps will you please. It is absolutely NOT helping to be an ass.

Okay, I believe I've fixed most of the problems. Now... all I need to do is fix one more thing. But it's late here and I'm gonna do it tomorrow.

defi 04-08-2005 08:06 PM

Quote:

Originally Posted by T3MEDIA
WTF? Who are you son?
Man shut up. I can say what I want. I didnt slander Sweed in anyway. what? This guy asked a question I answered. I even said good luck. What?
Your tired? take your own advice.
What? Yo. Go run that :up: over there. Feel me?

Why would anyone want to feel you?

Anyways, hopefully this will be updated for installation on 3.0.7 soon... Maybe then I'll work on the 'mypage' feature I'd been working on for this release.

Swedie 04-09-2005 10:38 AM

Quote:

Originally Posted by defi
Why would anyone want to feel you?

Anyways, hopefully this will be updated for installation on 3.0.7 soon... Maybe then I'll work on the 'mypage' feature I'd been working on for this release.

Okay I am now done with the new version that fixes problem with none removeable / editable posts.

Snow, your site is done. You can change passw etc now if you like.

Swedie 04-09-2005 10:47 AM

Updated v1.02 RELEASED!

PLEASE try this new version. Follow one detail VERY closely. It is the "FIX for v1.02.txt" file that everyone HAVE to run in order for "Delete" and "Edit" to work properly.

Also update member.php with new file_memberphp.txt. Bunch of tiny changes everywhere.

LET ME KNOW HOW IT WORKS! Thanks!

Snow 04-09-2005 11:39 AM

Quote:

Originally Posted by Swedie
Okay I am now done with the new version that fixes problem with none removeable / editable posts.

Snow, your site is done. You can change passw etc now if you like.

Yipeeee!! Thank you Swedie you are a STAR!!! It looks like I can finally edit the guestbooks. :D :banana: :banana: :banana:
:D

Just out of curiosity, what was it that was causing this bug?

Swedie 04-09-2005 12:08 PM

Quote:

Originally Posted by Snow
Yipeeee!! Thank you Swedie you are a STAR!!! It looks like I can finally edit the guestbooks. :D :banana: :banana: :banana:
:D

Just out of curiosity, what was it that was causing this bug?

mysql can't handle certain inputs and i wasn't aware of this until now that I saw your guestbook entries. Using a more of a fail safe way now to enter information into the db. Mainly odd characters are turned into ascii format such as &nsbps; stuff.

red_baron2000 04-09-2005 01:43 PM

nice hack thank you :)

installed :)

kobescoresagain 04-09-2005 05:24 PM

Run insert.sql
(with PHPMYADMIN or MySQLcc or with vBulletin area if you're allowed to do so)
It holds all the necassary database changes!

What is this and how do i do this? I don't think I have ever did this part. Thanks

Acido 04-09-2005 05:35 PM

Quote:

Originally Posted by Swedie
Updated v1.02 RELEASED!

PLEASE try this new version. Follow one detail VERY closely. It is the "FIX for v1.02.txt" file that everyone HAVE to run in order for "Delete" and "Edit" to work properly.

Also update member.php with new file_memberphp.txt. Bunch of tiny changes everywhere.

LET ME KNOW HOW IT WORKS! Thanks!

After upgrade i got this error on profile.php?do=editguestbook:

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946

Is relative to htis code in functions.php:
PHP Code:

 foreach($nav_array AS $nav_url => $nav_title//this is my line 1946
{
$pagetitle $nav_title;
$elementtype iif(++$counter == $lastelement'lastelement''breadcrumb');
$show['breadcrumb'] = iif($elementtype == 'breadcrumb'truefalse);
if (empty(
$nav_title))
{
continue;


Some new about the bug with avatarrs when it are stored as files?

Swedie 04-09-2005 06:27 PM

Quote:

Originally Posted by kobescoresagain
Run insert.sql
(with PHPMYADMIN or MySQLcc or with vBulletin area if you're allowed to do so)
It holds all the necassary database changes!

What is this and how do i do this? I don't think I have ever did this part. Thanks

Please find someone that can assist you. This is not a simple install.

Swedie 04-09-2005 06:34 PM

Quote:

Originally Posted by Acido
After upgrade i got this error on profile.php?do=editguestbook:

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946

Is relative to htis code in functions.php:
PHP Code:

 foreach($nav_array AS $nav_url => $nav_title//this is my line 1946
{
$pagetitle $nav_title;
$elementtype iif(++$counter == $lastelement'lastelement''breadcrumb');
$show['breadcrumb'] = iif($elementtype == 'breadcrumb'truefalse);
if (empty(
$nav_title))
{
continue;


Some new about the bug with avatarrs when it are stored as files?

You did something wrong, double check everything.

AVATAR FIX:
Find:
$avatarurl = "$vboptions[avatarurl]/avatar{".$split['1']."}_{$avatarinfo[avatarrevision]}.gif";
Replace with
$avatarurl = "$vboptions[avatarurl]/avatar".$split['1']."_$avatarinfo[avatarrevision].gif";

This fix is included in the latest v1.02 (after this post)

Acido 04-09-2005 08:32 PM

Quote:

Originally Posted by Swedie
You did something wrong, double check everything.

AVATAR FIX:
Find:
$avatarurl = "$vboptions[avatarurl]/avatar{".$split['1']."}_{$avatarinfo[avatarrevision]}.gif";
Replace with
$avatarurl = "$vboptions[avatarurl]/avatar".$split['1']."_$avatarinfo[avatarrevision].gif";

This fix is included in the latest v1.02 (after this post)


All ok after double check. Sorry for that :(

Big thanx about the avatars fix !

Lizard King 04-10-2005 01:27 AM

Swedie thanks for all the fixes. Like 20 April I will make some donation for this hack. I just have one last question :)
If a user has more than 10 guestbook entry it shows nextpage button. Is it possible to match it vbulletins button style ?

jcr 04-10-2005 07:28 PM

Uhm.. this worked so fine with 3.0.3 but when I upgraded to 3.0.7 weird stuff happened. I had the 1.0.1 version, upgraded everything else smoothly. Then this script, followed the instructions. ( i think i have checked everything at least five times )

Still this:
<if condition="$show['webpagecontent']">

and this:
<if condition="$show['guestbooksettings']">

makes no sense. My pages does not show anything :-/, i have went through the usergroups several times. What can it be?

cdoyle 04-11-2005 10:37 PM

So far everything seems to be working great with this.

I'm still looking for something that will allow users to upload images, I tried doing a search on here, for uploader hacks. Not really finding anything, anyone have any ideas?

I did find this
https://vborg.vbsupport.ru/showthrea...achment+upload

Is there anyways to incorporate this hack, with this one?

3GNMEDIA 04-12-2005 06:22 AM

When I go to Webpage Content and Guestbook Settings in the User CP, it just shows up as blank pages. Can anyone help me?

Lizard King 04-12-2005 06:43 AM

Did you make all file edits including template edits ? It looks like you didn't finish template edits

3GNMEDIA 04-12-2005 07:40 AM

Yeah, I think I did all the template changes.

Code:

modify_webpage - paste content of template_modify_webpage.txt
modify_guestbook - paste content of template_modify_guestbook.txt

For that part, I go to Add New Templates and for the title, I put modify_webpage and then paste the stuff from the text file into the template box, right?

Lizard King 04-12-2005 08:07 AM

No , you'll have to edit the templates . Read the instructions careful. It explains which template you have to edit and where to paste that into.


All times are GMT. The time now is 09:47 AM.

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.02287 seconds
  • Memory Usage 1,849KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (20)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