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)
-   -   Staff Messenger (https://vborg.vbsupport.ru/showthread.php?t=50715)

LOTR 03-24-2003 09:49 AM

Hello i try to run the FIRST query

INSERT INTO settinggroup VALUES (40, 'Staff Messaging System', 40);

but i got this error:

Code:

Error

SQL-query : 

INSERT INTO settinggroup
VALUES ( 40, 'Staff Messaging System', 40 )

MySQL said:


Duplicate entry '40' for key 1
Back

Any idea why this is happening to my db?
Thanks

SmartGnome 03-24-2003 11:25 AM

Quote:

Today at 12:49 PM LOTR said this in Post #21
Hello i try to run the FIRST query

INSERT INTO settinggroup VALUES (40, 'Staff Messaging System', 40);

but i got this error:

Code:

Error

SQL-query : 

INSERT INTO settinggroup
VALUES ( 40, 'Staff Messaging System', 40 )

MySQL said:


Duplicate entry '40' for key 1
Back

Any idea why this is happening to my db?
Thanks

Probably you have already a settinggroup with id 40 in your database.

SmartGnome 03-24-2003 11:28 AM

Hi Mist

One way install without any problems. Piece of Cake man :D


Request:

Can you make the title also selectable in the admin, then I can use it also for announcements to my users.


Great hack, install is clicked

:banana:

Dark Shogun 03-24-2003 11:34 AM

Pretty cool hack. I will have to install when I get home in May. :)

Dark Shogun

sabret00the 03-24-2003 12:32 PM

nice, will install this later

Dean C 03-24-2003 03:28 PM

Quote:

Today at 09:34 AM chrisz said this in Post #18
ok great hack, just want to check something..
Only admin of the board can see this right?
thnx dude you rock.

Just change the usergroupid's to your admin usergroupid only :)

Dean C 03-24-2003 03:31 PM

Quote:

Today at 11:49 AM LOTR said this in Post #21
Hello i try to run the FIRST query

INSERT INTO settinggroup VALUES (40, 'Staff Messaging System', 40);

but i got this error:

Code:

Error

SQL-query : 

INSERT INTO settinggroup
VALUES ( 40, 'Staff Messaging System', 40 )

MySQL said:


Duplicate entry '40' for key 1
Back

Any idea why this is happening to my db?
Thanks

Change the 40 to 60 or something like that (both instances of 40 in the query) :)

- miSt

Dean C 03-24-2003 03:31 PM

Quote:

Today at 01:28 PM SmartGnome said this in Post #23
Hi Mist

One way install without any problems. Piece of Cake man :D


Request:

Can you make the title also selectable in the admin, then I can use it also for announcements to my users.


Great hack, install is clicked

:banana:

What do you mean? :)

SmartGnome 03-24-2003 04:25 PM

Quote:

What do you mean?
Should be nice to have an extra input field in the acp where you can give the Title (Message to all Staff:) or any other text.

By this way I can also make announcements to other usergroups with different titles.


It's just a questsion, don't feel pressed :D


Cheers

Dean C 03-24-2003 05:37 PM

Oh that won't be hard

- adds to to-do list :)

- miSt


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