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)


All times are GMT. The time now is 09:26 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.02173 seconds
  • Memory Usage 1,749KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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