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.

Prefix color problem.

3 posters

Go down

In progress Prefix color problem.

Post by Babybok May 26th 2015, 7:28 pm

SOLVED wrote:Hello, forumotion, I would like to ask if is it possible to have a prefix in each forum? What I mean of prefix is thi, see image
Prefix color problem. Jccwm9e


and howcan I add a solved icon in my forum and add also another icon that forumotion have.. like this one.
Prefix color problem. YRFgbau

New problem: Is there a possibility to put the prefix in my specific forum/category only? and how do I put some colors to each words?


Last edited by Babybok on June 13th 2015, 12:37 pm; edited 1 time in total
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Sir. Mayo May 26th 2015, 8:52 pm

Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 27th 2015, 4:49 am

Sir. Mayo wrote:You can read this for the solved icon:
https://help.forumotion.com/t86303-topic-icons-how-to-add-a-solved-icon
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 27th 2015, 5:31 am

Why did you just quote Sir. Mayo's post?


Last edited by SLGray on May 27th 2015, 6:04 am; edited 1 time in total


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 27th 2015, 5:36 am

I can't post a reply using quotes, grr, sh**brix laptop.. I would like to ask the first question I ask.. so you've answer it sir.. thanks and sorry for the quote thing..

___________________________________________________________
I will just test this if it is work then I will mark this thread as solved..
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 27th 2015, 5:47 am

I edited my post to remove the link.  It was a link to a tutorial that add more prefixes to the edit title box which you do not want.  You want one for the topic title.  Correct?


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 27th 2015, 5:59 am

SLGray wrote:I edited my post to remove the link.  It was a link to a tutorial that add more prefixes to the edit title box which you do not want.  You want one for the topic title.  Correct?

Yeap sir, I want one for the topic title, that can be seen in the first title etc. thing.. sorry for my bad english..
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 27th 2015, 6:04 am



Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 27th 2015, 6:16 am

@SLGray : I have used this code, but it didn't work in my forum, my forum version is Invision..

Code:
var prefixes = ["prefix1","prefix2","prefix3","prefix4"];
  var _pm = false;
    var chk = false;
    function toMenu(a) {
      var htmlpre = '<select style="margin-right:5px" id="prefix" size="1"><option value="">(None)</option>';
      for (i in a)
      htmlpre += '<option value="' + a[i] + '">' + a[i] + '</option>';
      htmlpre += '</select>';
      return htmlpre;
    }
    function checkpre(ar, input) {
      for (i in ar) {
          var p = new RegExp("\\" + ar[i], "g");
          var title = input.substr(0, input.indexOf(']'));
          if (p.test(title)) return ar[i];
      }
      return "";
    }
    $(function () {
      if (_pm) chk = /\privmsg/.test(location.href);
      if (/\/post/.test(location.href) || chk) {
          $(toMenu(prefixes)).insertBefore("input[name=subject][type=text]");
          var mw = $("#prefix").width() + 5;
          $("input[name=subject]").css("width", $("input[name=subject]").width() - mw);
          var t = $("[name=subject]").val();
          var cur = checkpre(prefixes, t);
          if (cur != "") {
            $("[value=" + cur + "]").attr("selected", "selected");
            $("input[name=subject]").val(t.replace('[' + cur + ']', '').trim());
          }
          $("input[name=post]").click(function () {
            var sub = $("input[name=subject]").val().trim();
            if (sub != "" && $("#prefix").val() != "")
                $("input[name=subject]").val("[" + $("#prefix").val() + "] " + sub);
          });
      }
    });
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 27th 2015, 7:40 am

Was this set to yes?
Enable Javascript code management : Yes No


Did you also check the In All Pages circle?


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 27th 2015, 8:05 am

SLGray wrote:Was this set to yes?
Enable Javascript code management : Yes No


Did you also check the In All Pages circle?

Yeap it is already set to yes, and also set to In All Pages... but it doesn't work..

Is it for version punBB use only?
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 28th 2015, 8:02 pm

I tried it on my Invision forum, and it worked.


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 29th 2015, 7:26 am

SLGray wrote:I tried it on my Invision forum, and it worked.

Hmmm,why mine doesn't work, weird... I've follow all the tut, no skip..but it doesn't worked.. hmmm
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 29th 2015, 10:38 pm

Do you have other JavaScripts?


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 30th 2015, 4:58 am

SLGray wrote:Do you have other JavaScripts?

Yeap I have other Java script sir..
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray May 30th 2015, 5:02 am

Try this remove all of them.  DO not forget to save the JavaScripts somewhere before removing them. Then add them one by one to see if some are conflicting with each other.


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 30th 2015, 5:18 am

Now its working.. thanks SGL, last question.. Is there a possibility to put the prefix in my specific forum/category only? and how do I put some colors to each words?
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok May 31st 2015, 3:35 am

BUMP! Need answer please.. thanks
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 1st 2015, 9:19 am

BUMP! I need help please, question is :
Is there a possibility to put the prefix in my specific forum/category only? and how do I put some colors to each words?

_______________________________________-
@SLGray Need help
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 5th 2015, 6:50 am

Bump! need help!
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by SLGray June 5th 2015, 8:43 pm

Sorry, but I do not know how to achieve what you want.  Maybe someone else will know.


Prefix color problem. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 7th 2015, 6:32 am

SLGray wrote:Sorry, but I do not know how to achieve what you want.  Maybe someone else will know.

Ow ok, thanks for the help SLGray... I'll just wait for other to reply and help me with this problem.. Smile thanks!


BUMP! Anyone can help me?
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 13th 2015, 12:07 pm

BUMP! Any possibilities?
Is there a possibility to put the prefix in my specific forum/category only? and how do I put some colors to each words?

Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 13th 2015, 12:41 pm

Richiejay wrote:If I understood you correctly, you want to add the "solved, in progress, etc" sort of small icons in topics like that of the support forum?

Nope, my problem was is it possible that my prefix can be put in a desired category/forum and how can the prefix be colorized, I mean the words?
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 13th 2015, 1:08 pm

Richiejay wrote:Your query still keeps me in perplexity. Check if this is what you want here: http://niceplug.niceboard.com

there's no prefix in that forumm.. Sad check the image above to see what prefix is..
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

In progress Re: Prefix color problem.

Post by Babybok June 14th 2015, 11:35 am

BUMP! Anyone could help me with this problem please?
Babybok
Babybok
Forumember

Male Posts : 199
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

Back to top

- Similar topics

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