Advertisement:

Author Topic: [TIP/TRICK] Membergroup Images Instead of Name  (Read 71817 times)

Offline N i g h t m a r e

  • Full Member
  • ***
  • Posts: 577
  • Gender: Male
  • Immortal
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #40 on: January 11, 2014, 04:19:56 PM »
PLEASE DON'T USE IT.

In case you didn't read the tips, this can seriously damage your forum requiring manual database changes to fix.


Well it worked perfectly for me, I wonder why? That's pretty odd if it didn't work for anyone else

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 72,774
    • StoryBB/StoryBB on GitHub
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #41 on: January 11, 2014, 04:23:06 PM »
That's why I said *CAN* as opposed to *WILL*. There are places it will guaranteed not work properly (e.g. go to someone's profile and try to change the primary group of a user), and under some circumstances it can prevent you actually changing group configuration on a more permanent basis.

I should add, while I don't expect to change the code in 2.1, 3.0 WILL BREAK THIS PERMANENTLY.
Please don’t PM me for paid work, I’m not for hire, and even if I was, I doubt you could afford me.
USD$150 per hour. Typical waiting list 3 months.

Offline N i g h t m a r e

  • Full Member
  • ***
  • Posts: 577
  • Gender: Male
  • Immortal
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #42 on: January 11, 2014, 04:28:31 PM »
That's why I said *CAN* as opposed to *WILL*. There are places it will guaranteed not work properly (e.g. go to someone's profile and try to change the primary group of a user), and under some circumstances it can prevent you actually changing group configuration on a more permanent basis.

I should add, while I don't expect to change the code in 2.1, 3.0 WILL BREAK THIS PERMANENTLY.


Would it work any better if there was a Mod for such a thing?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 72,774
    • StoryBB/StoryBB on GitHub
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #43 on: January 11, 2014, 04:32:21 PM »
Technically it's actually a security risk to have this but the size of the field limits the 'worst case scenario' (it's hard to weaponise it to an actual security risk, but we still get reports every so often that it is a persistent-type XSS hole that should be fixed, but it's because of the number of people who use this 'tip' that I can't just change it)

All groups need to have a regular textual name for all the places that a regular textual group name is needed (any dropdown, amongst others), and really what you're saying is that you just need a mod to change the way the thread and maybe profile displays the group's name.
Please don’t PM me for paid work, I’m not for hire, and even if I was, I doubt you could afford me.
USD$150 per hour. Typical waiting list 3 months.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 52,497
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #44 on: January 11, 2014, 07:14:27 PM »
actually it has been changed in 2.1 already, and html in the username field does not get parsed out any longer.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 72,774
    • StoryBB/StoryBB on GitHub
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #45 on: January 11, 2014, 07:30:03 PM »
Not quite the way I have in mind it hasn't ;)
Please don’t PM me for paid work, I’m not for hire, and even if I was, I doubt you could afford me.
USD$150 per hour. Typical waiting list 3 months.

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,174
  • Gender: Male
    • jason.p.clemons on Facebook
    • jasonclemons on GitHub
    • jasonclemons1 on LinkedIn
    • @fragicide on Twitter
    • My Blog
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #46 on: January 12, 2014, 04:47:07 AM »
Feel free to delete this topic if it's causing trouble. At the time I wrote it, I was unaware of the possible outcomes of it.
Jason Clemons
Former Team Member 2009 - 2012

Offline Oshiego

  • Semi-Newbie
  • *
  • Posts: 13
Re: [TIP/TRICK] Membergroup Images Instead of Name
« Reply #47 on: January 29, 2015, 06:34:44 PM »
Instead of actually replacing the Name as said with the image link.

You can change the staradmin.gif to another icon and put the number of stars to 1. That'll do the trick too. And it won't screw up the name.