ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Content Question (29th Jul 08 at 10:47pm UTC) Resolved | | Greetings request and support board at Virtual Forums! Now here’s a quest from me a bit detailed and concept art too! I promise no stick fingers. :]. Okay, no concept art. >_>. I cannot even figure out how to change the color of a graphic. XD.
I would like a code to offer a question while posting a new thread (only while posting a new thread) to ask the question, ‘Does this topic contain nudity?’. This of course is justified on an educational board for things like the statue of david. If the answer is yes, the checkbox or what so is marked a small tag should be added to the topic title like a [n].
When viewing the thread on the board display with other threads I’d like the [n] turned into a small notice. Changing the topic title from [n] Statue of David to Statue of David (has nudity). Also it may be helpful to have a small notice at the top of the thread as well, but I mainly would like the thread question part.
^_^.
Merci . :]
| |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (29th Jul 08 at 11:01pm UTC) | | Ok - is that the only question? And where do you want it on the page?
I wanz stick figurez | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Content Question (29th Jul 08 at 11:09pm UTC) | | Ok - is that the only question? And where do you want it on the page?
I wanz stick figurez
Right above the message box most likely. :].
Also stick fingers?
http://wimg.co.uk/M9Yf0X.gif
^_^. I drew the staff team. ^_^ | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (29th Jul 08 at 11:10pm UTC) | | Just a simple 'yes/no' select box? | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Content Question (29th Jul 08 at 11:10pm UTC) | | Just a simple 'yes/no' select box? Yup. ^_^ | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (29th Jul 08 at 11:11pm UTC) | | Defaulted to no? Or to a ' -- ' option so that they HAVE to choose one? | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Content Question (29th Jul 08 at 11:13pm UTC) | | Defaulted to no? Or to a ' -- ' option so that they HAVE to choose one? Hmm. o_o. Have to choose one seems a good idea, but I'll say default to no because I don't expect too many things like this. :]. | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (29th Jul 08 at 11:13pm UTC) | | Oki koki karaoke! | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Content Question (29th Jul 08 at 11:14pm UTC) | | Oki koki karaoke!
/steals the mic /sings offtone /sings horribly /kitten dies.
/runaway | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (29th Jul 08 at 11:47pm UTC) | | Try this:
<script> /*Nudity Question Created By Wrighty Do Not: Rip, Repost or Claim*/
var r = { awr: function(){ if(location.href.match(/post/) && !location.href.match(/topic/) && get('message','name')){ this.a(); } }, a: function(){ var x = get('description_title','id').parentNode.cloneNode(true); x.firstChild.firstChild.firstChild.innerHTML = 'Nudity?'; x.firstChild.id = 'nudity_title'; x.firstChild.nextSibling.id = 'nudity_field'; x.firstChild.nextSibling.firstChild.innerHTML = '<select id = "naked"><option value = "no">No</option><option value = "yes">Yes</option></select>'; get('description_title','id').parentNode.parentNode.insertBefore(x, get('description_title','id').parentNode.nextSibling) if(document.addEventListener){ get('post_form','name')[0].addEventListener('submit', r.s,false); }else{ get('post_form','name')[0].attachEvent('onsubmit', r.s); } }, s: function(){ if(get('naked','id').value == 'yes' && !get('subject','name')[0].value.match(/\[N\]/)){ get('subject','name')[0].value = '[N] ' + get('subject','name')[0].value; } } }; r.awr(); </script>
Global Footer | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | |
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (29th Jul 08 at 11:56pm UTC) | | Woopsie forgot about that!
I knew I would when I read it....
So you want it to just add it after the name (contains nudity) ... just like that? | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Content Question (29th Jul 08 at 11:57pm UTC) | | Woopsie forgot about that! I knew I would when I read it.... So you want it to just add it after the name (contains nudity) ... just like that? Or before it. Just enough for I can tell people, "Hey there was a warning =P" | |
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | Re: Content Question (30th Jul 08 at 12:00am UTC) | | <script> /*Nudity Question Created By Wrighty Do Not: Rip, Repost or Claim*/
var r = { awr: function(){ if(location.href.match(/post/) && !location.href.match(/topic/) && get('message','name')){ this.a(); } if(location.href.match(/board/) && !location.href.match(/action/)){ this.t(); } }, a: function(){ var x = get('description_title','id').parentNode.cloneNode(true); x.firstChild.firstChild.firstChild.innerHTML = 'Nudity?'; x.firstChild.id = 'nudity_title'; x.firstChild.nextSibling.id = 'nudity_field'; x.firstChild.nextSibling.firstChild.innerHTML = '<select id = "naked"><option value = "no">No</option><option value = "yes">Yes</option></select>'; get('description_title','id').parentNode.parentNode.insertBefore(x, get('description_title','id').parentNode.nextSibling) if(document.addEventListener){ get('post_form','name')[0].addEventListener('submit', r.s,false); }else{ get('post_form','name')[0].attachEvent('onsubmit', r.s); } }, t: function(){ var a = get('a','tag'); for(x = 0; x < a.length; x++){ if(a[x].innerHTML.match(/\[N\]\s/) && a[x].href.match(/view_topic/)){ a[x].innerHTML = a[x].innerHTML.replace(/\[N\]\s/,'') + ' (contains nudity)'; } } }, s: function(){ if(get('naked','id').value == 'yes' && !get('subject','name')[0].value.match(/\[N\]/)){ get('subject','name')[0].value = '[N] ' + get('subject','name')[0].value; } } }; r.awr(); </script>
Global Footer
Try that. | |
|
ashkir Full Member
  
![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/W9M-tej.gif) Posts: 1,159 Status: Offline Gender: Male Location: Cali! Age: 36 Joined:
pmskypemsnyahoo | Re: Content Question (30th Jul 08 at 12:03am UTC) | | 
Yup! Thanks! ^_^. | |
|