Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Modify the value of createdByUserNum

 

 


Djulia
User

Mar 19, 2008, 9:29 AM

Post #1 of 7 (361 views)
Shortcut
Modify the value of createdByUserNum Can't Post

Hi,

I would like retroactively to modify the value of createdByUserNum in the sector of administration.

There is a solution ?

Thank you for your assistance.

Djulia


Djulia
User

Mar 19, 2008, 9:39 AM

Post #2 of 7 (360 views)
Shortcut
Re: [Djulia] Modify the value of createdByUserNum [In reply to] Can't Post

Oops !!! Blush

Excuse my question, I found the answer.

In section Admin > Advanced Commands...

Djulia


Djulia
User

Mar 19, 2008, 9:56 AM

Post #3 of 7 (359 views)
Shortcut
Re: [Djulia] Modify the value of createdByUserNum [In reply to] Can't Post

In fact, I need a help : BlushBlush

1) Which are the values for List Options ?


Admin > Section Editors > Field Editor

Field Label : Created By
Field Name : createdByUserNum
Field Type : list
Display As : pulldown

List Options : Use options listed below

0 == ???
1 == ???
2 == ??? (admin)
3 == ??? (user)


Required : selected

Field Attributes :
System Field - restrict field editor access to this field (no selected)
Admin Only - Field can only be modified by program or section admin users (selected)


2) But, it seems that the field cannot be edited.
Error message : Field 'createdByUserNum' must be set to type 'none'.

Thank you for your assistance. Smile

Djulia


(This post was edited by Djulia on Mar 19, 2008, 10:12 AM)


Dave
Staff / Moderator


Mar 19, 2008, 3:21 PM

Post #4 of 7 (346 views)
Shortcut
Re: [Djulia] Modify the value of createdByUserNum [In reply to] Can't Post

It's not editable, but here's some ways you can do it.

One simple way, is to just copy and paste and create a new record as the new user. That's not always practical though.

Another way is to use a MySQL editing program and change the value of the createdByUserNum field to a different user num.

And a third way would be as follows:

- Make sure you are logged in as an admin user with 'admin' access to 'All Menus'.

- Find the user number of the 'new' record owner by mousing over (or clicking) the modify link for their account under "User Accounts". The user number will be displayed in the url.

- Go to the section you want to change in the Section editor

- Enable "System Field Editing" (bottom left under "Advanced Commands"

- Edit "createdByUserNum" and change the field to "createdByUserNum2" with type "textfield"

- Go edit the records you want to change. createdByUserNum2 will show up as a text field and you can change the user number.

- When finished, go back and rename the field back to "createdByUserNum" with type "none"

Hope that helps, let me know if that works for you.

Dave Edis - Senior Developer
interactivetools.com


Djulia
User

Mar 19, 2008, 3:29 PM

Post #5 of 7 (344 views)
Shortcut
Re: [Dave] Modify the value of createdByUserNum [In reply to] Can't Post

Thank you Dave, Smile

Oops ! I think that simplest is to employ a MySQL editing program.

Thanks,

Djulia


Djulia
User

Mar 19, 2008, 3:35 PM

Post #6 of 7 (341 views)
Shortcut
Re: [Dave] Modify the value of createdByUserNum [In reply to] Can't Post

Another question.

You can give the values ?

0 == ???
1 == ???
2 == ??? (admin)
3 == ??? (user)


Thanks, Smile

Djulia


Dave
Staff / Moderator


Mar 19, 2008, 3:37 PM

Post #7 of 7 (340 views)
Shortcut
Re: [Djulia] Modify the value of createdByUserNum [In reply to] Can't Post

If you can, that's _definitely_ the simplest! :)

I use 'MySQL Query Browser' for that. It's free, runs on my desktop, and by the MySQL folks. phpMyAdmin is good for that too. Not all web hosts let you connect remotely to MySQL.

If anyone wants to check out MySQL Query Browser you can here:
http://www.mysql.com/products/tools/query-browser/
http://dev.mysql.com/downloads/gui-tools/5.0.html

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4