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)

gael11 10-12-2005 03:54 PM

Quote:

Originally Posted by StarGame
Hi, i installed the script on my forums just like the install guide said.. then it all went BAD when i went to this part : '4. In your admincp usergroup manager, set permissions for each of your user groups.' i could not see the text just the buttons 'yes & no' and when i set them to yes and saved it this came up:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

then i tried to get rid of it and then my forums would not work as the database table: vb_userpage i had to recreate this so my forums would work again.

Does anyone know why this did not work?

Hello, I would just say I have the same problem :(

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

markbolyard 10-12-2005 05:29 PM

Quote:

Originally Posted by COBRAws
would it be possible to access user custom pages as this:

members.yoursite.com/user

It would be AWESOME, willing to pay if so.

For users who have installed VBSEO, here are the rewrite rules I have used in the vbseo control panel (the htaccess included with this mod did not work when included with the htaccess mod provided by VBSEO)

'^userpage\.php\?do=list' => 'user-personal-pages.html'
'^userpage\.php\?do=main&userid=(\d+)$' => 'user-page-for-user$1.html'

This will allow the forum member to access thier page by thier user number. If someone can get this to work by replacing the user number with the users name, that would be great.

Furthermore, I presume these rewrites could be done in the htaccess file of a board without VBSEO. Please let me know how it works if you try it.

PS: Amy, sent a little donation :) Got this error on the way back to your site: VB_AREA or THIS_SCRIPT must be defined to continue (Just to let you know...)

markbolyard 10-12-2005 05:40 PM

Quote:

Originally Posted by gael11
Hello, I would just say I have the same problem :(

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


See here install FAQ Above:

FAQ
How do I rebuild Bitfields?
Run the following: http://www.yoursite.com/forum/admin...=buildbitfields

This will fix it...

gael11 10-12-2005 07:08 PM

Thanks for your answer, didn't think to read the post. Works very well ;)

StarGame 10-13-2005 03:49 PM

Yea nice one mate, i will try that.
Cheers :)

EDIT:
I do not know if this is right but on a members profile it has the link but next to it says 'Unknown Location' then the link to the userpage. (see attachment for image)

does anyone know how to edit this to get it to say something like users page etc, or has anyone see it on there own forums??
Cheers

Bubble #5 10-13-2005 10:11 PM

Quote:

Originally Posted by spaghie
Thankyou Bubble! That was all it needed.

You're welcome Spaghie. Glad it worked out for you :)

redspider 10-13-2005 10:26 PM

ty for the hack is working on my forum well .
I have a question can a user use html codes?

Ericsson 10-14-2005 08:47 PM

On the usergroup theres is no text for the permissions, theres the options but no text.

cdoyle 10-14-2005 09:48 PM

Quote:

Originally Posted by Christine
1. Make sure you have userpage.php in the root dir

2. Try userpage.php?do=edit

that was it, I remember moving that file over, but I must have put it in the wrong directory or something.

Thanks!

cdoyle 10-15-2005 01:58 AM

I'm able to construct my page now, but it seems the more content I add, the bigger the space between the 'delete this page' and the actual page content gets.

See the attachment to what I'm talking about. The more I add to the page, the wider that space gets. How do I stop it from doing that?


All times are GMT. The time now is 12:57 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.02065 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)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