The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

default message

5 posters

Page 2 of 2 Previous  1, 2

Go down

Solved default message

Post by darkgoku October 18th 2014, 3:06 pm

First topic message reminder :

i sued this tutorial http://www.fmcodes.com/t797-set-default-message-in-a-textarea but when i went to create a enw topic nothing showed up
btw my forum version is punbb


Last edited by darkgoku on October 18th 2014, 4:48 pm; edited 2 times in total
darkgoku
darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down


Solved Re: default message

Post by Mati October 18th 2014, 4:34 pm

MrMind wrote:
Mati™ wrote:Only edit the id and it should work simple as that.  

Unfortunately it doesn't.

Are you trying to add this on your forum?
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: default message

Post by Ramdaman October 18th 2014, 4:36 pm

Last thing, try this:

Code:
$(function() {
   if (location.pathname == '/post' && location.search == '?f=10&mode=newtopic') {
      $('#text_editor_textarea').val('[b]Website Name[/b]:\n[b]Web Address[/b]:\n[b]Language[/b]:\n[b]Description[/b]:');
   }
});


Last edited by Ramdaman on October 18th 2014, 4:37 pm; edited 1 time in total
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: default message

Post by TheCrow October 18th 2014, 4:36 pm

I am helping darkgoku for this in his forum but also on my forum does not work either.

@Ramdaman: Tested the last code you sent but still nothing! Confused


Last edited by MrMind on October 18th 2014, 4:38 pm; edited 1 time in total
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: default message

Post by Ramdaman October 18th 2014, 4:38 pm

Ramdaman wrote:Last thing, try this:

Code:
$(function() {
   if (location.pathname == '/post' && location.search == '?f=10&mode=newtopic') {
      $('#text_editor_textarea').val('[b]Website Name[/b]:\n[b]Web Address[/b]:\n[b]Language[/b]:\n[b]Description[/b]:');
   }
});

Edited. Try this.
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: default message

Post by TheCrow October 18th 2014, 4:39 pm

MrMind wrote:I am helping darkgoku for this in his forum but also on my forum does not work either.

@Ramdaman: Tested the last code you sent but still nothing! Confused
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: default message

Post by Mati October 18th 2014, 4:39 pm

The placement has to be "In all the pages" or he may have some other script that can block this but i dont think so cuz it works on my forum.
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: default message

Post by TheCrow October 18th 2014, 4:40 pm

Mati™ wrote:The placement has to be "In all the pages" or he may have some other script that can block this but i dont think so cuz it works on my forum.

It is set to all pages but it doesn't seem to work. I don't know that much about javascripts to tell you if some other javascript blocks this one.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: default message

Post by Mati October 18th 2014, 4:46 pm

I need to test it myself cuz it works on my forum I'll wait for darkgoku to send me a PM with a test account.
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Solved Re: default message

Post by darkgoku October 18th 2014, 4:46 pm

i have fixed it i believe it was a code blocking it but its fixed thanks for the help
darkgoku
darkgoku
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Solved Re: default message

Post by TheCrow October 18th 2014, 4:48 pm

It is now fixed.
Using this code:
Code:
$(function() {
  if (location.pathname == '/post' && location.search == '?f=10&mode=newtopic') {
      $('#text_editor_textarea').val('[b]Username[/b]:\n[b]Suggestion Name[/b]:\n[b]Suggestion Description[/b]:\n[b]Comments[/b]:');
  }
});

Problem Solved!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: default message

Post by Ramdaman October 18th 2014, 4:52 pm

Glad to be of service, and I'm glad you guys found that code that was blocking it Smile
Ramdaman
Ramdaman
Active Poster

Male Posts : 1615
Reputation : 99
Language : English, Albanian, Macedonian, Russian | HTML, CSS
Location : New York City

http://ndihme.forumotion.com/forum

Back to top Go down

Solved Re: default message

Post by Ange Tuteur October 18th 2014, 5:32 pm

Topic archived

Thanks for the help Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum