The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

default message

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

Solved default message

Post by darkgoku on 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
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down


Solved Re: default message

Post by Mati on 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
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: default message

Post by Ramdaman on 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
Active Poster

Male Posts : 1614
Reputation : 96
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 Luffy on 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

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: default message

Post by Ramdaman on 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
Active Poster

Male Posts : 1614
Reputation : 96
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 Luffy on 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

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: default message

Post by Mati on 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
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: default message

Post by Luffy on 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.

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: default message

Post by Mati on 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
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: default message

Post by darkgoku on 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
Forumember

Posts : 340
Reputation : 3
Language : English

Back to top Go down

Solved Re: default message

Post by Luffy on 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!






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: default message

Post by Ramdaman on 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
Active Poster

Male Posts : 1614
Reputation : 96
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 on October 18th 2014, 5:32 pm

Topic archived

Thanks for the help Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


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