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.

Alignment add friend and reputation improvement scripts question - Invision

3 posters

Go down

In progress Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 16th 2018, 8:34 pm

Hello dear Forumotion friends  bye

I've added the scripts the title refers to, to my testforums, they work on my phpbb3, my ModernBB and they kinda work on my Invision test forum.
So for Invision I have a couple of questions for it, explained in the following screenshot:

Screenshot:

Q 1: How to align the result of the Reputation improvement script in a way it creates a space at the rightside so it's not sticked to the button next to it? SOLVED by SLGray

Q 2: How to align the result of the add friend+wall to postprofile script to the same position as the rest of the postprofile info? SOLVED

Q 3: How to get the script to actually display the posters name in front of Prikbord (wall) ?  
It only displays the 's' that goes after the posters name, on my other test forums it displays the right way, but here on my Invision the posters name is missing, although the link is working correctly!

If needed you can have a look at a post where it's visible Here!

Kind regards,
Tonny


Last edited by SLGray on January 23rd 2018, 6:47 pm; edited 3 times in total (Reason for editing : Q2 solved by SLGray)
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 16th 2018, 8:56 pm

Please post the links to the 2 tutorials you used.


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 16th 2018, 9:14 pm

SLGray wrote:Please post the links to the 2 tutorials you used.

I'm sorry @SLGray I don't remember which posts contained the scripts but I found them here in the archives..

The Reputation improvement script I used is this one:
Reputation Improvement script, on all pages:

The CSS for the reputation improvement I used is this:
CSS Reputation Improvement:

The Add friend+wall to postprofile script I used is this one:
Social Profilelinks (in topics):

I hope it's okay to post them this way, if not please delete them..


Last edited by TonnyKamper on January 17th 2018, 6:00 pm; edited 1 time in total (Reason for editing : Added the used CSS code)
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 18th 2018, 9:25 pm

Gentle bump Alignment add friend and reputation improvement scripts question - Invision Bump10
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 20th 2018, 7:45 pm

TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by Ikerepc January 20th 2018, 8:33 pm

Please provide me test account so I can check it out live.
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 20th 2018, 9:58 pm

Ikerepc wrote:Please provide me test account so I can check it out live.

Thank you very much for your assistance @Ikerepc PM with login details is sent Smile
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 20th 2018, 10:55 pm

Could you send me the test account by PM?


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 20th 2018, 11:09 pm

SLGray wrote:Could you send me the test account by PM?

PM is sent to you @SLGray thank you very much for your assistance Smile

I just managed to align the result of the "Add Friend + Wall" script properly, so one problem less on that, only thing left on this is that it doesn't display the posters name before 'Prikbord' (translation for Wall), just the addional 's which comes after the posters name..

Kind regards,
Tonny Kamper


Last edited by TonnyKamper on January 20th 2018, 11:12 pm; edited 1 time in total
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 20th 2018, 11:16 pm

Add this to your CSS:
Code:
fa_reputation {
   margin-right:  YOUR NUMBERpx;
}


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 20th 2018, 11:25 pm

SLGray wrote:Add this to your CSS:
Code:
fa_reputation {
   margin-right:  YOUR NUMBERpx;
}

Thank you "`SLGray` 10px puts the thumb up a little to the left but the green bar beneath it just stretches further and appeared to be attached to the button next to it.. is it possible to take the green bar out entirely?
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 20th 2018, 11:29 pm

Code:
.fa_votebar, .fa_votebar_inner {
    margin-right: YOUR NUMBERpx;
}


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 20th 2018, 11:39 pm

SLGray wrote:
Code:
.fa_votebar, .fa_votebar_inner {
    margin-right: YOUR NUMBERpx;
}

Yay that did the trick on that one @SLGray cheers Thank you very much, problem 1 is now solved too Yes
Only thing left now is the display of the posters name from the Add as friend + wall script.
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 20th 2018, 11:59 pm



Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 20th 2018, 11:59 pm

SLGray wrote:Does it suppose to show the usernames?

Yes it does @SLGray on all other testforum versions it displays the poster's name as you can see on this screenshot of my phpbb3 version:

Screenshot posters name phpbb3:

It also displays the posters name at my phpbb2 and at my ModernBB testforums..
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 21st 2018, 12:00 am



Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 21st 2018, 12:06 am

SLGray wrote:

No I don't think so, my code looks different, I found mine after endlessly searching through topics and as I remember correctly it was a solution provided by someone on a secundary question of that specific topic, so the title of the topic is totally different, that's why I'm having difficulties to find it back, I totally forgot what the title of the topic was..

I use this code, now updated with a little bit of style for the alignement of the result:

Code:
$(function() {
  var posts = $('.postprofile', document.getElementById('main-content')), i = 0, p;
  for(; (p = posts[i++]); ) {
      var userlink = p.getElementsByTagName('a')[1]
      , name = userlink.innerHTML.replace(/<[^>]+>/g, '')
      , uid = userlink.href.match(/\d+$/)[0];
      p.innerHTML += '<a style="margin-left:10px;" href="/profile?friend=' + name + '&mode=editprofile&page_profil=friendsfoes">Wordt vriend(in)</a><br><a style="margin-left:10px;" href="/u' + uid + 'wall">' + name + '\'s Prikbord</a>';
  }
});
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 23rd 2018, 6:08 pm

Alignment add friend and reputation improvement scripts question - Invision Bump10 Only question 3 is still unsolved..

TonnyKamper wrote:Q 3: How to get the script to actually display the posters name in front of Prikbord (wall) ?
It only displays the 's' that goes after the posters name, on my other test forums it displays the right way, but here on my Invision the posters name is missing, although the link is working correctly!

Does anyone know how to address the poster's username in the script, so it will display the posters name before the link to his/her wall ? Think

Kind regards
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 23rd 2018, 6:46 pm

I just tested it on my forum, and it worked.  There must be something on your forum that is interfering with it. 

One thing that I did notice on my forum is that the username does not show ownership ('s).


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 24th 2018, 2:37 am

SLGray wrote:I just tested it on my forum, and it worked.  There must be something on your forum that is interfering with it. 

One thing that I did notice on my forum is that the username does not show ownership ('s).

Thank you @SLGray that is very strange, on my forum it shows the ownership 's but not the username before it although the link is working properly.. Did you tried it on version Invision? Because on my phpBB3 and ModernBB forums it does display the username.. only for some reason on my Invision it doesn't and I can't figure out why.. Confused Could it be caused by something in my CSS?
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 24th 2018, 7:43 am

It could be or JavaScripts, templates, etc.


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 24th 2018, 12:49 pm

SLGray wrote:It could be or JavaScripts, templates, etc.

Thanks @SLGray I'll switch off all other javascripts to see if that will work, then switch them back on one by one to find the guilty one if it does work without other javascripts.. as for templates, I haven't got a clue what to look for and where.. and in my css I have some things that effect the posters profile in the post, so I guess I'll have to disable them to see if one of them is causing it..

I'll report back when I have the results of doing this..
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by SLGray January 24th 2018, 8:28 pm

We will wait for your reply.


Alignment add friend and reputation improvement scripts question - Invision 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 : 51489
Reputation : 3519
Language : English
Location : United States

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

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 26th 2018, 8:26 pm

Well I tried everything I could think of @SLGray ... I disabled all javascripts exept the "Add friend + wall" script and it still wouldn't show the posters name in the result.. Then I took out all codes related to the postprofile from the CSS and it made no difference, the posters name didn't show in the result of the script. The only templates that are slightly adjusted are the General/index_body and the Portal/mod_recent_topics.. I tried forcing the default templates, but that made no difference either !

So I don't know what to do anymore.. Crying or Very sad
Do you have any ideas of what more can be done to get the posters name show up?
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper January 30th 2018, 10:26 pm

Alignment add friend and reputation improvement scripts question - Invision Bump10 Anyone ? Question 3 is still a mystery.. Confused
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

In progress Re: Alignment add friend and reputation improvement scripts question - Invision

Post by TonnyKamper February 9th 2018, 5:44 pm

Anyone? Alignment add friend and reputation improvement scripts question - Invision Bump10
TonnyKamper
TonnyKamper
Active Poster

Female Posts : 1049
Reputation : 78
Language : Dutch/English
Location : DSF Admin

http://www.nederlandheelt.nl/forum

Back to top Go down

Back to top

- Similar topics

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