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 Sat Oct 18 2014, 16:06

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 Sat Oct 18 2014, 17:48; edited 2 times in total
darkgoku
darkgoku
Forumember

Posts : 326
Reputation : 3
Language : English

Back to top Go down


Solved Re: default message

Post by Mati Sat Oct 18 2014, 17:34

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
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: default message

Post by Ramdaman Sat Oct 18 2014, 17:36

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 Sat Oct 18 2014, 17:37; edited 1 time in total
Ramdaman
Ramdaman
Active Poster

Male Posts : 1590
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 Sat Oct 18 2014, 17:36

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 Sat Oct 18 2014, 17:38; edited 1 time in total
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: default message

Post by Ramdaman Sat Oct 18 2014, 17:38

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 : 1590
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 Sat Oct 18 2014, 17:39

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 : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: default message

Post by Mati Sat Oct 18 2014, 17:39

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
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: default message

Post by TheCrow Sat Oct 18 2014, 17:40

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 : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: default message

Post by Mati Sat Oct 18 2014, 17:46

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
Active Poster

Posts : 1933
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services

https://fm-focus.forumotion.com/

Back to top Go down

Solved Re: default message

Post by darkgoku Sat Oct 18 2014, 17:46

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

Posts : 326
Reputation : 3
Language : English

Back to top Go down

Solved Re: default message

Post by TheCrow Sat Oct 18 2014, 17:48

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!


default message - Page 2 Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: default message

Post by Ramdaman Sat Oct 18 2014, 17:52

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 : 1590
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 Sat Oct 18 2014, 18:32

Topic archived

Thanks for the help Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
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