● [WIP] Mentions Mod V2

Thu Apr 06, 2023 2:59 pm
Clan Leader
Top Dog
Nuke Dev / Coder
3029 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 32.4hrs.
Total Played: 62hrs.


  
Is this your job?
Reputation: 7363.5
votes: 7
Well, you all know that after the release of the Mentions mod, v1.0, Lonstar threw out a suggestion about a min profile to go with it, and threw out a vague discription of what he thought it should look like. I did a quick example which you all seen, and it was what was envisioned.

Well, I started working on it and ran into a wall. I wasn't sure the best way for me to go about this. On the one hand, I could make it into a bbcode, but then I thought of issues with that, and I wanted to make it as simple as possible and the least amount of files to modify, so, I narrowed it down to 2 files to modify, and no theme edits whatsoever. Just think of it like this, it does the same thing that the bbcode does, filters the text before it's printed, so you can read it. I am not going to get into exactly how I did it, but anyone that knows PHP and how the bbcode does it, I did it similar, just not in with the bbcode.

Here is a picture of only the miniprofile function working, but in a block form.
Expand
This function will be available to use in any system, so the miniprofile is 1 function, the mention system is a separate function for the forums, but, the miniprofile, since it is a separate function, can be used anywhere you want, in any module.

Here is what the difference in the forums looks like, I have both the "before", which is what you guys are using, and the "after", which is the new functions I just finished.



Sorry for the low video quality, I just recorded a portion of my screen since I was just doing something quick for an example only.
What do you guys think?

Update:
I have a working example here: coRpSE and Lonestar
You may need to clear your browsers cache to see it properly.


Expand
Thu Apr 06, 2023 5:33 pm
Nuke Dev / Coder
101 Posts
Lonestar
Currently Offline
Offline

Most Played:
This week: 17.3hrs.
Total Played: 978hrs.


  
Must be married.
Reputation: 769.7
Looks great lachen


Expand
Thu Apr 06, 2023 9:01 pm
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3029 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 32.4hrs.
Total Played: 62hrs.


  
Is this your job?
Reputation: 7363.5
votes: 7
Thanks. I think this will be released exclusively with the next release of Xtreme. I may release it for only a couple of testers, (maybe), but it will have to be installed by me.


 
Fri Apr 07, 2023 8:23 am
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3029 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 32.4hrs.
Total Played: 62hrs.


  
Is this your job?
Reputation: 7363.5
votes: 7
coRpSE This is a test on having it here on my live site.
You will need to clear your browsers cache to see it correctly.


 
Sat Apr 08, 2023 9:47 am
Blabbing Noob
54 Posts
Reputation: 799
I like the look of this addition/change
Sat Apr 08, 2023 9:52 am
Original Poster
Clan Leader
Top Dog
Nuke Dev / Coder
3029 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 32.4hrs.
Total Played: 62hrs.


  
Is this your job?
Reputation: 7363.5
votes: 7
Thanks, still making some tweaks to it as we speak. I am modifying the regex to ignore somethings that can cause issues.
I also added it to the forum news module on my site.


 
Forums ©