vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v2.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2007, 04:19 PM
ludachris ludachris is offline
Senior Member
 
Join Date: Oct 2005
Posts: 184
Default Created a custom field, having problems

I created a custom field which is used as an image url. The problem is for some reason now when entering data into that field it's automatically adding [ url ] bbcode around it. It wasn't doing that before. How do I stop it from adding the bbcode?

Last edited by ludachris; 10-23-2007 at 04:23 PM.
Reply With Quote
  #2  
Old 10-23-2007, 04:42 PM
ludachris ludachris is offline
Senior Member
 
Join Date: Oct 2005
Posts: 184
Default Re: Created a custom field, having problems

Okay, I figured out the issue, it's a setting at the Category level. Can someone tell me what query I could run to change all categories and set it to not parse links? I have hundreds of categories.
Reply With Quote
  #3  
Old 10-24-2007, 02:12 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Created a custom field, having problems

First, note that these settings are stored as a bitfield, so running a query to update things would affect quite a few settings, including:

Category is Open For Links
Category is Open For Posts
Allow Ratings
No Follow Links

Apply this password to child categories
Can have password

And then every setting under Link Description, Custom Fields, and Posting Options.



Assuming that it's ok for all of those settings to be the same in each category, then you could mass update them by doing the following:

First, run this query to find out what the value is for the category you have updated and have the options set as you would like:
Code:
SELECT options FROM adv_links_categories WHERE catid = X
(replace X there with the catid you want to find the settings value from).

That should return a number, which you will want to make a note of and then run this query:

Code:
UPDATE adv_links_categories SET options = Number
Replace 'Number' with the number you got from the first query and that should do the trick.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom field... Hyperlink field? Tungsten "How Do I..." Questions 2 08-29-2007 01:01 PM
Created a custom usergroup and now they can't post links GamingVidz.com "How Do I..." Questions 1 01-11-2006 07:24 PM
Need: Custom style created with VBA in mind. SelRahc Chit Chat 1 12-21-2005 05:52 PM
How to get ALL custom modules created to be listed in this group? forumpup Troubleshooting & Problems 6 10-04-2005 10:04 PM
Created a Custom Page and... mholtum Troubleshooting / "How do I..." Questions 3 06-21-2004 04:34 PM


All times are GMT -4. The time now is 03:52 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.