Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Feb 2017, 19:48
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
Question How can I add a vB textarea to my mod?

So I have a textarea I have added to newthread page, and the data posted, is returned within the post with the following variable.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have wrapped it in a pre tag to prevent html, but this can easily be taken advantage of.

How can I make it like the default textareas? so the textarea
1. does not allow html
2. allows bbcode

been scratching my head for a couple days on this one.
__________________
Sorry been away so long, new baby, got married, got into GM, just got to the point I can resume developing.
I'm working on a bunch of products, some free, some paid, and will release them all at once.
Dirt RIF CustUmz
Reply With Quote
  #2  
Old 26 Feb 2017, 20:53
PinkMilk PinkMilk is online now
 
Join Date: May 2010
Real name: Milk Pink
Might help Using the vBulletin Input Cleaner Class
Reply With Quote
  #3  
Old 28 Feb 2017, 11:16
paradoxG(r)eek paradoxG(r)eek is offline
 
Join Date: Feb 2017
Real name: Christos
1.- PHP File


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace $ad["description"] with your own field

Template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you want to use Quick Reply editor instead the full editor then use 'qr' instead of 'fe' at:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 28 Feb 2017 at 11:24 ---------------

I think that I was out of topic before .... Thought that you want to add vb Editor to textarea.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #4  
Old 01 Mar 2017, 20:58
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
ok, I have tried a lot of things. too many to post, but I am not getting this.

so let me explain a little more.

the textarea i have added to newthread page (its under the message box) think of it as a sub message.

it stores its info in sql by itself and at the moment is set to no_html

now i want to return that data on the showthread page (within the original post) but with it allowing bbcode and not allowing html.

I show the variable for the "sub message" content within showthread lets say $submessage

so could I use something like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in hook ???????

but the bbcode php should already be where I am trying to use this.
__________________
Sorry been away so long, new baby, got married, got into GM, just got to the point I can resume developing.
I'm working on a bunch of products, some free, some paid, and will release them all at once.
Dirt RIF CustUmz

Last edited by Dr.CustUmz; 01 Mar 2017 at 21:05.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom profile field as textarea / show single profilefield via button Harvey vBulletin 2.x Full Releases 21 18 Dec 2002 16:17


Tags
textarea


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

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


New To Site? Need Help?

All times are GMT. The time now is 01:48.

Layout Options | Width: Wide Color: