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.

Issue about id of icon

View previous topic View next topic Go down

In progress Issue about id of icon

Post by shakib al hasan on August 4th 2016, 12:17 pm

Can anyone find out for me id of icon for this one

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by Draxion on August 4th 2016, 12:36 pm

Sorry I don't understand your question. What do you mean the "ID" of that icon?

Draxion
Helper
Helper

Male Posts : 554
Reputation : 79
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 1:59 pm

Hello @Draxion I mean ID number of that icon

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by Nemo on August 4th 2016, 2:01 pm

@shakib al hasan wrote:Hello @Draxion I mean ID number of that icon

Hello,

What do you mean by "ID number of that icon"? Are you talking about the URL?
Please provide more information about your issue.

Hello

Nemo
Support Moderator
Support Moderator

Male Posts : 1083
Reputation : 114
Language : Greek, English, French

http://www.helpgr.forumgreek.com

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 2:07 pm

Make sure to replace the 3 in id : 3 with the ID of your solved icon. Also, this script was originally meant for phpbb3, so if there are any problems let me know.

@SlGray, above words are written by Ange. But my question is that where I can find id of solved icon please?


you can find id of icon by inspect element

This issue was about auto solved button.
To creating this auto solved - I need to know the id of my above solved button. Already Ange indicated above about it @Nemo

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by Nemo on August 4th 2016, 2:12 pm

Hello,

I will quote an Ange Tuteur's post :

@Ange Tuteur wrote:You can see the id by opening your Devtools ( F12 ) and going to the DOM inspector. Then proceed to select an element from the page and hover over your solved icon's radio button. The number will be at the end, "6" in this example :

Hello

Nemo
Support Moderator
Support Moderator

Male Posts : 1083
Reputation : 114
Language : Greek, English, French

http://www.helpgr.forumgreek.com

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 2:17 pm

I don't have pc right now @Nemo
So can you inspect above icon for to finding ID?

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by Nemo on August 4th 2016, 2:19 pm

Hello,

Unfortunately, I cannot have access to a computer at this moment. Perhaps someone else can help you.

Your forum's URL is needed though.

Hello

Nemo
Support Moderator
Support Moderator

Male Posts : 1083
Reputation : 114
Language : Greek, English, French

http://www.helpgr.forumgreek.com

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 2:22 pm

Ok Forum url: http://avacs.pforum.biz
I hope manager @APE is coming forward to help me out.

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by Nemo on August 4th 2016, 2:26 pm

Please do not tag staff members. Our staff members are pretty busy since we have to take care of many cases. We are trying our best to provide support to everyone.

Nemo
Support Moderator
Support Moderator

Male Posts : 1083
Reputation : 114
Language : Greek, English, French

http://www.helpgr.forumgreek.com

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 2:30 pm

Ahh ok, but I need id of icon to add an auto solved button

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by APE on August 4th 2016, 2:32 pm

Hello sorry for the Delay on getting to your topic

Can you Please PM me a test account and your url of your forum so i can go in and see if i can help you some more.

Please only PM me with this info

Thank you.

APE

EDIT:

Please Don't keep tagging The staff This is your last warning the next time you do so you will be banned.
We will get round to all the threads as we go along we are not just here to help you we have 100's of posts a day to read over and we do them as fast as we can.

Please read our forum rules: ESF General Rules




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 2:58 pm

Pm sent. Let me know if you got it

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by APE on August 4th 2016, 3:10 pm

I have logged on your forum you Don't even have the icons setup on your forum and you don't even have the Codes set up for me to deal with this step

The staff here will not do the work for you.

you have to get the site ready for us then we will help you find the codes you need to fix this your self.

if you don't do this your self then you will never learn. and we will always be running around logging in to your forum and running the change our self's

This is not what the support forum is about we have 100's of posts and problems to deal with.

Get the system ready then i will help you again but until then i can not help.




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 3:13 pm

But how to get the system ready? Please help.me

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by APE on August 4th 2016, 3:17 pm

Add the codes gave in the other thread.

I have found the ID number its id "1"


See Screen shot Here:




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 3:20 pm

Where is screenshot? I made ready system long days ago.

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by APE on August 4th 2016, 3:21 pm

Click where it says Screen shot Here it will open the spoiler




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 3:32 pm

Hello,
I add this code with id number in javascript code management but nothing is happening
Code here
Code:
$(function() {
  window.$fa_solved = {
 
    icon : {
      id : 1
    },
 
    lang : {
      mark : '<i class="fa"></i> Mark Solved',
      mark_title : 'Marking your topic with the Solved icon will let staff know your problem has been resolved.',
      mark_title_mod : 'Mark this topic Solved',
      marking : '<i class="fa fa-spin"></i> Marking...',
      marked : '<i class="fa"></i> Solved !'
    },
 
    post_id : $('tr.post')[0].id.slice(1),
 
    encode : function(string) {
      return encodeURIComponent(escape(string).replace(/%u[A-F0-9]{4}/g, function(match) {
        return '&#' + parseInt(match.substr(2), 16) + ';';
      })).replace(/%25/g, '%');
    }
 
  };
 
  var main = document.getElementById('page-body'), post = $('tr.post', main)[0], author = $('.poster-profile a[href^="/u"]', post).text(), mod = $('.i_icon_ip', post)[0], button = document.createElement('A');
 
  if (!mod && author != _userdata.username) return;
 
  button.innerHTML = $fa_solved.lang.mark;
  button.title = mod ? $fa_solved.mark_title_mod : $fa_solved.mark_title;
  button.className = 'button1 markSolved';
  button.href = '#';
 
  button.onclick = function() {
    var t = this;
    t.innerHTML = $fa_solved.lang.marking;
    t.removeAttribute('title');
    t.onclick = function() { return false };
 
    $.get('/post?p=' + $fa_solved.post_id + '&mode=editpost', function(d) {
      var auth = $('input[name="auth[]"]', d);
      $.post('/post', 'subject=' + $fa_solved.encode($('input[name="subject"]', d)[0].value) + '&message=' + $fa_solved.encode($('#text_editor_textarea', d)[0].value) + '&p=' + $fa_solved.post_id + '&post_icon=' + $fa_solved.icon.id + '&mode=editpost&auth[]=' + auth[0].value + '&auth[]=' + auth[1].value + '&post=1', function() {
        t.innerHTML = $fa_solved.lang.marked;
        t.className += ' marked';
      });
    });
 
    return false;
  };
 
  main.insertBefore(button, main.firstChild);
  'par ange tuteur';
});

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by APE on August 4th 2016, 3:38 pm

don't think this will work for you as you don't have it set up right i think you need to install Font Awesome to your forum aswell.

also is that code made for a Phpbb3 forum as the phpbb2 code will not work in that forum.




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 3:42 pm

@APE wrote:don't think this will work for you as you don't have it set up right i think you need to install Font Awesome to your forum aswell.

also is that code made for a Phpbb3 forum as the phpbb2 code will not work in that forum.
Hello, my forum is phpbb3. But what do you mean by set up right? And font awesome means?

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

In progress Re: Issue about id of icon

Post by APE on August 4th 2016, 3:43 pm

you need to find the right code the one you have now is for Phpbb2 forums and yours in Phpbb3 so the code will not work and font awesome is a plug in
http://help.forumotion.com/t140216-add-font-awesome-button-to-the-editor#952992
http://help.forumotion.com/t140086-how-to-install-and-use-font-awesome




APE
Manager
Manager

Male Posts : 8615
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Issue about id of icon

Post by shakib al hasan on August 4th 2016, 3:47 pm

Ok then give me code for phpbb3 or share me any thread related with the code of phpbb3

shakib al hasan
Forumember

Male Posts : 62
Reputation : 3
Language : english

http://avacs.sforum.biz

Back to top Go down

View previous topic View next topic Back to top


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