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.

Application Private Messages Menu

3 posters

Go down

Solved Application Private Messages Menu

Post by daniloMD April 23rd 2017, 9:37 pm

@what I was asking was too bothersome, consider it solved, ty.

Good everyone!

I've found this interesting code while I was searching for a good PM menu and I've tried it.

https://help.forumotion.com/t141662-application-popup-of-private-message-list
(also Rip Jscript, he made excelent codes Application Private Messages Menu 1f625 )

I've made a widget on the right side of the forum that displays my Avatar and my Profile Link, and added a Link to the Inbox with it's respective Inbox PM's counter
Code:
{USERCOUNTPOST}

This was the code I used on the widget:

Widget:

Then added Jscript's code on the Javascript for every page

APPLICATION CODE - JAVASCRIPT:

So Summing it up, Added that Widget to make a custom user Area (was going to add more links later, etc) and Added the javascript.

And I've 2 problems that I've noticed.

1st: The Counter doesn't Display the exact ammount of PM's in the inbox (I've none and it displays 1, and tried with a Dummy test forum, sent myself 5 pm's, deleted them all and in the end it displays 2).

2nd: When I click in "Messages" inside the Menu It simply closes the Menu and doesn't direct to the "inbox" (and before you ask, YES the path is correct).

This is the Dummy Forum where I'm testing it.

http://staiksdummy.forumeiros.com/

And I'm sorry I'm bringing this Code up, considering the obvious, but doesn't change the fact the guy was a genius compared to me and many others and since my knowledge is very limited don't want to put this Code to Waste, any help gentlemen?

Thank you very much in advance!
(NOTE: It's PunBB)

@EDIT Just realized the {USERCOUNPOST} is literally the ammount of posts my bad, being that so, is there one to count the pm's in the inbox?


Last edited by daniloMD on May 1st 2017, 7:15 pm; edited 1 time in total
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Application Private Messages Menu

Post by daniloMD April 25th 2017, 4:55 am

bump
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Application Private Messages Menu

Post by SLGray April 25th 2017, 5:15 am

Are you sure this is for PM's, not the number of posts:
Code:
  {USERCOUNTPOST}
?


Application Private Messages Menu 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 : 51567
Reputation : 3524
Language : English
Location : United States

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

Back to top Go down

Solved Re: Application Private Messages Menu

Post by daniloMD April 25th 2017, 6:11 am

@EDIT Just realized the {USERCOUNPOST} is literally the ammount of posts my bad, being that so, is there one to count the pm's in the inbox?

@SLGray I've put it there mate Smile
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Application Private Messages Menu

Post by SLGray April 25th 2017, 8:14 am



Application Private Messages Menu 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 : 51567
Reputation : 3524
Language : English
Location : United States

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

Back to top Go down

Solved Re: Application Private Messages Menu

Post by daniloMD April 25th 2017, 9:45 am

@SLGray I was already aware of that, like I said it was a mistake, but the main point of the post remains.

How can I make that "messages" link on the JS work?
And how can I make a messages counter?

I've seen it in another forum a similar subject, even tho I can't associate it to this case bcz my JS knowledge is beyond sad.

That Script was roughly sth like this: GET$ ( link of the messages i think) -> count number of Images with the "X" link (the unread messages icon) and display the icon ammount as a number aka lenght if I'm not mistaken, this was the principle, I'm sorry for writting in a miserable non technical way, but yeah, any help with those? Smile

@in the meantime found the code again
JAVASCRIPT:
daniloMD
daniloMD
New Member

Posts : 19
Reputation : 1
Language : italian

http://nexusteam.forumattivo.com/

Back to top Go down

Solved Re: Application Private Messages Menu

Post by Ape May 2nd 2017, 12:14 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


Application Private Messages Menu Left1212Application Private Messages Menu Center11Application Private Messages Menu Right112
Application Private Messages Menu Ape_b110
Application Private Messages Menu Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19449
Reputation : 2011
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Back to top


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