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-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 05:25 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.01999 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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