vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBpad - Your personal notepad! (v1.0) (https://vborg.vbsupport.ru/showthread.php?t=29760)

tubedogg 10-08-2001 07:54 AM

Keep in mind that $usercpnav is pretty wide as it is...Kier and I spent some time a few months back trying to fit a new link on it (and keep it fitting within 800x600) and it wasn't fun. :)

Admin 10-08-2001 08:01 AM

Then I think I'll remove the link from the navigation, and just link to that page from that box that shows the notes.
You don't happen to know if it's possible to add something like maxlength="xx" to <textarea>, do you?
I don't want to add Javascripts... ;(

kamrad.ru 10-08-2001 08:54 AM

I`m I want it :D

Admin 10-08-2001 09:04 AM

In a couple of minutes (really!).

Admin 10-08-2001 09:15 AM

Ok, it's done.

I added a lot of stuff, you can see everything by the screenshots I posted:
Main thing - http://www.vbulletin.com/forum/attac...&postid=182455
User control panel - http://www.vbulletin.com/forum/attac...&postid=182457
Admin options - http://www.vbulletin.com/forum/attac...&postid=182891

webhost 10-08-2001 10:28 AM

All works but the box does not show up to place notes in, a box comes up that has the following information in it
"Your notes:
Last updated: 10-08-2001 06:15 AM
You are allowed to have 10 notes, each can contain 250 characters
IMG code is , vB code is , smilies are , HTML is "

and says update my pad at bottom. When you click on update pad it gives you this error and then automaically goes back to the user profile.
warning varaiable passed to each () is not a array or an object at home/blab/blab/blab
on line 536

line 536 is this

PHP Code:

  while (list($key,$val)=each($notes)) { 

I have ran queries and they look correct in database, also went into control panel set all vb pad options to yes and saved, and also updated all counters/
Any Ideas?

kamrad.ru 10-08-2001 10:37 AM

Database vbulletin
Error
SQL-query : [Edit]

INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES ('40','vBpad','32')

MySQL said: Duplicate entry '40' for key 1

Back

webhost 10-08-2001 10:42 AM

Did you install his first version, if so that might already be installed in that table. That is the reason you are getting the error, I got that error also but when i looked in the table it was there, so i went on with the install.

Admin 10-08-2001 11:43 AM

kamrad.ru, run this query and attach a screen shot of what you get (don't worry, no private info will be displayed):
Code:

SELECT * FROM settinggroup WHERE settinggroupid>'30'
OR PM me with access to phpMyAdmin and I will install this for you.

Webhost, very strange.
I thought it's a problem when the table is empty, but I already ruled that possibility out.
Are you sure you created the table?

Anyway, I updated the first post. Updated part is the code for member2.php.

shadowbreed 10-08-2001 12:07 PM

The pad works fine now, but nothing shows up on the My Vb Home page


All times are GMT. The time now is 07:53 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.04005 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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