vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Give Your Users a Custom Page on Your Site (https://vborg.vbsupport.ru/showthread.php?t=91903)

Anarchy 11-27-2005 11:09 PM

Also the report doesn't seem to be working

http://www.toontowncentral.com/forum...n&userid=23416

BiReL41r 11-27-2005 11:18 PM

Nice hack, will think of installing. Gotta save some bandwith.

Moncal 11-28-2005 02:46 AM

Quote:

Originally Posted by amykhar
Moncal, the one in the base directory does. The one in the upgrade directory does not. And, I don't see the relevance of the link you posted to a profile page? This mod doesn't touch profile pages.

I installed the product in the root folder and it didn't create the tables.

When I go to a profile page I get an sql error telling me that the userpage table doesn't exist. You didn't get it when you visited the page because I disabled the plugin so that I wouldn't get a bunch of error emails.

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT * FROM userpage WHERE userid=1;

MySQL Error : Table 'moncal_forum.userpage' doesn't exist
Error Number : 1146
Date : Sunday, November 27th 2005 @ 10:42:54 PM
Script : http://www.secondwar.net/member.php?u=2
Referrer : http://www.secondwar.net/showthread.php?p=30786
IP Address :
Username : Moncal
Classname : vb_database

Edit: I've also noticed that the error occurs on other pages such as usercp.php and arcade.php...odd.

amykhar 11-28-2005 04:44 AM

Moncal, I see the queries in the product file. It uses prefixes properly. I am not sure why you are having this error. If the tables aren't there - visually inspect your database to make sure - then manually install the tables for now. I don't have the time to set up another fresh test board to test waza's product.

I am assuming you know how to do this given you are tinkering with a beta mod ;)

croportal 11-28-2005 04:58 PM

when i try to set the permsiosn this show up

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

amykhar 11-28-2005 05:00 PM

Sounds like you need to rebuild the bitfields. The product should have handled this automatically, but I'm not certain when you downloaded or what you installed. So, just to be safe, rebuild them.

croportal 11-28-2005 05:02 PM

Quote:

Originally Posted by amykhar
Sounds like you need to rebuild the bitfields. The product should have handled this automatically, but I'm not certain when you downloaded or what you installed. So, just to be safe, rebuild them.


how can i rebuild them??

tteal 11-28-2005 05:02 PM

Quote:

Originally Posted by amykhar
Sounds like you need to rebuild the bitfields. The product should have handled this automatically, but I'm not certain when you downloaded or what you installed. So, just to be safe, rebuild them.

Amy,
Did you read any of my issues that i had with this mod?

croportal 11-28-2005 05:04 PM

i have uploaded again bitfield_userpage.xml to includes/xml directory and the sam nothing

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

EasyTarget 11-28-2005 05:29 PM

Quote:

Originally Posted by waza
Hey,
Do the following (not tested, but it should work):
make a new plug-in in member_complete:
give it a name and add this code to it:
PHP Code:

$hasuserpageresult=$db->query_read("SELECT id FROM ".TABLE_PREFIX."userpages WHERE userid=".$userinfo['userid']."");
$hasuserpage=$db->num_rows($hasuserpageresult); 

Then add somewhere in your MEMBERINFO template:
HTML Code:

<if condition="$hasuserpage">
<a href="userpage.php?u=$userinfo[userid]">Visit $userinfo[username] 's userpage</a>
</if>


the first part (plugin section) gave a database error which made the memberlist unviewable. also, how could I add the Visit X's userpage to the postbit pulldown menu under a user's name, but only for users that have a page? (where it says view profile, send a pm, find posts, add to budyylist)

ChrisBaktis 11-28-2005 10:01 PM

Before I port over to 3.5.1 and install this hack can you tell me if there are settings so the admin can turn off the rating and shoutbox features so the member only gets a basic profile page.

Moncal 11-29-2005 01:34 AM

Quote:

Originally Posted by amykhar
Moncal, I see the queries in the product file. It uses prefixes properly. I am not sure why you are having this error. If the tables aren't there - visually inspect your database to make sure - then manually install the tables for now. I don't have the time to set up another fresh test board to test waza's product.

I am assuming you know how to do this given you are tinkering with a beta mod ;)

Finally got it. The url rewrite doesn't work and the rating popup is screwed up in Opera.

croportal 11-29-2005 01:36 AM

anoyne know, its urgent

i have uploaded again bitfield_userpage.xml to includes/xml directory and the sam nothing

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

MissKalunji 11-29-2005 12:41 PM

Quote:

Originally Posted by amykhar
Moncal, I see the queries in the product file. It uses prefixes properly. I am not sure why you are having this error. If the tables aren't there - visually inspect your database to make sure - then manually install the tables for now. I don't have the time to set up another fresh test board to test waza's product.

I am assuming you know how to do this given you are tinkering with a beta mod ;)


hey i wanted to know how can i let the user change the background color or adding their own background picture and all....so they wouldnt see the msg board skin?

thanks in advance

amykhar 11-29-2005 01:30 PM

This mod is not designed to do that. If you know how to code, feel free to hack it to suit your needs.

MissKalunji 11-29-2005 01:32 PM

Quote:

Originally Posted by amykhar
This mod is not designed to do that. If you know how to code, feel free to hack it to suit your needs.

im not that advance....if i pay you would you be able to do it?

Thanks

waza 11-29-2005 02:23 PM

Quote:

Originally Posted by EasyTarget
the first part (plugin section) gave a database error which made the memberlist unviewable. also, how could I add the Visit X's userpage to the postbit pulldown menu under a user's name, but only for users that have a page? (where it says view profile, send a pm, find posts, add to budyylist)

Hey,

First: The plug-in doesn't affect memberlist but member's profile page ...

Second: I had a look and the query was incorrect, this is the correct one:
Code:

$hasuserpageresult=$db->query_read("SELECT userid FROM ".TABLE_PREFIX."userpage WHERE userid=".$userinfo['userid']."");
$hasuserpage=$db->num_rows($hasuserpageresult);


waza 11-29-2005 02:26 PM

Quote:

Originally Posted by Moncal
Finally got it. The url rewrite doesn't work and the rating popup is screwed up in Opera.

For the url rewrite amy has to help you.
But the rating popup is my work. I only use FF but it looks like IE & opera are not showing this correctly.
I'll try to fix it asap

EasyTarget 11-29-2005 05:28 PM

Quote:

Originally Posted by waza
Hey,

First: The plug-in doesn't affect memberlist but member's profile page ...

I was able to view profiles find, but the memberlist had the db error. When I disabled the code the memberlist was back to normal.

I'll try the new one out in a sec, thanks.

pcoskat 11-29-2005 08:38 PM

Quote:

Originally Posted by amykhar
This mod is not designed to do that. If you know how to code, feel free to hack it to suit your needs.

Coupla questions...

When a member sets up their page, is there a clickable icon, or something added to their postbit, to indicate that they HAVE a page?

Also, is the member 'alerted' when someone posts in their shoutbox?

Emil 11-30-2005 01:10 PM

Ok I installed this and now I'm having big problems.

Now when I try to edit a usergroup in the usergroup manager, all I get is:

"Rebuilt Bitfields Successfully"

And the page just refreshes and goes back to that message all the time. I can't get pass that so now I can't edit any of my usergroups anymore.

I tried to delete everything I did, but that didn't help anything.

Please help me fix this. Thanks!

waza 11-30-2005 01:33 PM

Quote:

Originally Posted by EasyTarget
I was able to view profiles find, but the memberlist had the db error. When I disabled the code the memberlist was back to normal.

I'll try the new one out in a sec, thanks.

Ow, I know what it is, well it just has to do there are some tables missing.

@Emil: I don't think this has to do with this hack. That message should normal redirect you to the usergroup options.

waza 11-30-2005 01:35 PM

Quote:

Originally Posted by pcoskat
Coupla questions...

When a member sets up their page, is there a clickable icon, or something added to their postbit, to indicate that they HAVE a page?

Also, is the member 'alerted' when someone posts in their shoutbox?

No for both of the questions.

Emil 11-30-2005 02:59 PM

Well, it happened when I installed this. And now I can't get it back to normal :( :( :(

croportal 11-30-2005 03:03 PM

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

when i go to permisions eror apears: Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

waza 11-30-2005 05:01 PM

Quote:

Originally Posted by Emil
Well, it happened when I installed this. And now I can't get it back to normal :( :( :(

if you de-activate the product? If you still get the error then delete bitfield_userpage.xml, if you still get the error it has nothing to do with this hack If it is resolved try to do a re-install.

Emil 11-30-2005 07:03 PM

Quote:

Originally Posted by waza
if you de-activate the product? If you still get the error then delete bitfield_userpage.xml, if you still get the error it has nothing to do with this hack If it is resolved try to do a re-install.

I re-installed the product again and then uninstalled it again and now it seems to be working fine again :) Sorry for any inconvinience this may have caused.

amykhar 11-30-2005 11:21 PM

I've seen that happen on other mods. I think it's a glitch with the rebuilding the bitfields through the products - not this one specifically.

fulleffect 12-01-2005 08:24 AM

Hi

when i create a userpage, in the page content editor, there isn't the icon to add an image. (the yellow icon).


also the url rewrite doesn't seem to be working, doesn't it work with 3.5.1?

i.e: when you type www.domain.com/forum/user it doesn't come up with their userpage.

where am i going wrong please?


Thanks!

amykhar 12-01-2005 10:17 AM

1. I am not sure why some people have the problems with the image. I believe it has something to do with your forum settings, but have never been given enough data from those affected to know.
2. The url rewrite depends on you having mod_rewrite and on you installing the .htaccess file. I am no longer using it and can't test it with 3.5.1 because I am using vbseo.

ChrisBaktis 12-02-2005 10:43 AM

When a member goes to the page to create or edit their page how can I make the edit area go the whole distance across the page instead of a fixed size?

ChrisBaktis 12-02-2005 09:02 PM

As an admin I tried deleting a page and I get an error saying I dont have permission. My setting are all set to yes. Is there something I am missing?

Anarchy 12-03-2005 09:14 PM

Quote:

Originally Posted by ChrisBaktis
As an admin I tried deleting a page and I get an error saying I dont have permission. My setting are all set to yes. Is there something I am missing?

Yes i get the same problem.

BrandiDup 12-03-2005 10:10 PM

I just installed this with no problems and it works like a charm!!!! Very awesome hack! My members love and appreciate it very much. Thank you :)

Chris Lang 12-04-2005 06:48 AM

Quote:

Originally Posted by Anarchy
Yes i get the same problem.

Read the previous posts of this thread. The answers are there.

ManagerJosh 12-05-2005 06:58 AM

Rating doesn't work and it seems to be missing vbphrase[rate_userpage]

dirtycrow 12-05-2005 08:05 AM

Quote:

Originally Posted by utw-Mephisto
Working here too, but I cannot delete custom pages even though I am super-admin ... any ideas ?


did you ever get an answer for this? i have the same issue.

ChrisBaktis 12-05-2005 07:36 PM

Quote:

Originally Posted by dirtycrow
did you ever get an answer for this? i have the same issue.

Mine has been corrected. In the userpage.php file on line 862 look for

PHP Code:

if ($pageexists

Change to:

PHP Code:

 if (!$pageexists

The ! is what the problem was on mine. I now can delete pages with no problem.

ChrisBaktis 12-05-2005 08:16 PM

Is there anyway to remove the Smilie box on the right hand side of the message area?

waza 12-06-2005 01:00 PM

Hey chris,
It should normally not show up if you replace:
Quote:

construct_edit_toolbar($pagedata, 0, 'nonforum', iif($vbulletin->options['privallowsmilies'], 1, 0));
With
Quote:

construct_edit_toolbar($pagedata, 0, 'nonforum', 0, 1, 0));
However, this will delete the smilies for everyone and will still parse smilies if they type it.
If you also want to disable smilie parsing:

FIND:
Quote:

$parser->do_parse($pagedata, 1, 1, 1, 1, 1, $cachable);
REPLACE WITH:
Quote:

$parser->do_parse($pagedata, 1, 0, 1, 1, 1, $cachable);


All times are GMT. The time now is 11:30 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.07229 seconds
  • Memory Usage 1,845KB
  • 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_html_printable
  • (3)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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