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)

cecdah 07-22-2005 12:22 AM

It was the userpage-plugins.xml right? Not the userpage.xml located in the admincpfolder?

amykhar 07-22-2005 12:36 AM

Right. and if you look in your plugin manager, you should see a plugin for Userpage usercp link

arurcard 07-22-2005 12:42 AM

no help for me? :(

amykhar 07-22-2005 01:25 AM

Quote:

Originally Posted by arurcard
no help for me? :(

Sorry, I missed your question.
Code:

      $db->query_write("ALTER TABLE userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
      $db->query_write("ALTER TABLE userpage ADD views INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
      $db->query_write("ALTER TABLE userpage ADD numvotes INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
      $db->query_write("ALTER TABLE userpage ADD votetotal INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");

As I said before - zap the ".TABLE_PREFIX." I did it for you in the code block above.

arurcard 07-22-2005 01:46 AM

Quote:

Originally Posted by amykhar
Sorry, I missed your question.
Code:

      $db->query_write("ALTER TABLE userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
      $db->query_write("ALTER TABLE userpage ADD views INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
      $db->query_write("ALTER TABLE userpage ADD numvotes INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");
      $db->query_write("ALTER TABLE userpage ADD votetotal INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ");

As I said before - zap the ".TABLE_PREFIX." I did it for you in the code block above.

thanks

arurcard 07-22-2005 01:48 AM

Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 4
STR: ->
SQL: $db->query_write("ALTER TABLE userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ")

SQL-query:

$db->query_write("ALTER TABLE userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ")

MySQL said: Documentation
#1064 - You have an error in your SQL syntax near '$db->query_write("ALTER TABLE userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0'' at line 1

im using phpmyadmin btw

amykhar 07-22-2005 02:03 AM

Code:

ALTER TABLE userpage ADD rating INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE userpage ADD views INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE userpage ADD numvotes INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE userpage ADD votetotal INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;


arurcard 07-22-2005 02:23 AM

thanks again

arurcard 07-22-2005 02:28 AM

that fixed it works perfectly, excpet i see no link in the user cp

arurcard 07-22-2005 02:49 AM

Also I have a few ideas for your next release.

I see we both use coppermine. I was thinking of having a navigation box like you have on your forum, but only appears on the user's page. They can put whatever links they want in there, but also it has a link to their coppermine image gallery.


Also the ability to create more than one page. Like they can have an option to "add new page" or something (which also adds to the navigation box).

Just a few ideas.


Heres a ++++ty photoshop of my idea http://uploads.drift-forums.com/files/cappyps.jpg


All times are GMT. The time now is 06:36 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.01812 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (2)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