The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
is there a way i can make something show up when you go to make a new post or reply and make that something show up in the message by default and non removable in all messages in all threads?
possiably looking for a way to edit the default blank $messagearea i can not find a template to edit for the $messagearea |
#2
|
||||
|
||||
![]()
Do you mean make the same thing show up in all posts or have the message be something from a Mod/Admin and unique to each post? If you have it show up in the message area (the part I am posting in right now), then they would be able to delete/edit it. You would have to add something to the post as it is posted and not have it come up when they hit the Edit button - so most likely add something into the postbit or postbit_legacy templates.
|
#3
|
|||
|
|||
![]()
im talking about haveing like lets say using <if conditions=" user ID r whatever i choose
then they can put something in there post that is like lets say under there post for everyone else to see but when they put a message in the area the i choose then only the specified users that can see the field when making the post only them members can see that message when viewing the post if thats too confussing for you then just let me know and ill try to explain it better |
#4
|
||||
|
||||
![]()
I think what you are saying is you want some text to be input by the user and only some users, ones that you specify, will be able to see it?
I think the easiest way to do this would be to add another text box to the Reply/Post area, and add another column to the post table for that content and do conditionals around that text when you spit it out into the postbit. Not hard, but not real simple either. |
#5
|
|||
|
|||
![]()
like here look lets say that you are a vip member of my site and this is a new post that i just made
START DEMO Post Title - this is my ghetto post demo Message: this is my ne post right here and all users can see this message because it is just a normal post VIP EYES ONLY MESSAGE AREA then in this part of the post only the vip members will be able it so it could contain special details for the normal part of the post or what ever Signature and all that good stuff goes here END OF DEMO but see like i want somethign like that you know its kinda like a hidden message in posts that only certian member groups will have the ability to use and stuff you know i mean i know how to code it i just dont know where to go to start editing in vb to make another text area in all posts and shit you know --------------- Added [DATE]1206481463[/DATE] at [TIME]1206481463[/TIME] --------------- so ya i mean where do i go to edit this crap i know i wold need to edit: new post, new reply, postbit and/or postbit legacy depending on what one i want to use the only problem is what to i have to put in there to show a 2nd text area you know what is the coding or where is the coding for a message field like that i guess is what im asking |
#6
|
||||
|
||||
![]()
You might want to take a look at the Form Hack and maybe use that. I would turn on the option to put the Template Name in the HTML Source Code (vboptions > general settings) and then view all the pages you want to make this change to. For example, looking at Quick Reply on the bottom of the showthread page shows that the template for the message area is the showthread_quickreply template. The textarea with the name "message" is in there and I guess you could add your own text area in there also for just this special content.
|
#7
|
|||
|
|||
![]()
ya i was thinking about using the forum hack as i alreay do for a few other things
i was just looiking for a way to do a quick template edit or something that i can do just to add a conditional extra text area in all posts in all catagories and all forums you know is that even possiable? |
#8
|
||||
|
||||
![]()
Yeah, you can add the textarea, but like I said, you will also need to add the column into the database to save that text. And, that means you also need the column name into the array for the post columns so you can use the datamanager to store it. And, since it will be it's own text area and own column, then when you pull it from the database, it will be easy to put conditionals around it when you go to spit it out.
|
#9
|
|||
|
|||
![]()
alright thanks for the info ima try to see if i can find all the info i need for all that stuff and hopefully i will get it all working and everything and then release it here on vb org for everyone else to enjoy
--------------- Added [DATE]1206483595[/DATE] at [TIME]1206483595[/TIME] --------------- Quote:
|
#10
|
|||
|
|||
![]()
hey ya no luck with this thing here
can i get some kinda help on how to do all this that i want to do? if someone dose it for me then you can take all credit for this mod that would be made all i ask is to see it before its released and some kinda credit for the idea of the mod please help people please this would be a realy great mod for vip members to have a lil extra that only they can see in the posts |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|