• Administrator
  •  
    Information: Choosing social login option will register your account automatically without the need for email confirmation.
     

[JavaScript] Verified icon next to username

A place for codes and tutorials which will improve the functionality of your board.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
Shadow
Administrator
Posts: 21
Joined: Sat Jan 06, 2018 4:56 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Sun Jan 07, 2018 12:00 am

Details:
This mod requires a h4.username element inside templates, if you edited your punbb forum way too hard it will not work.
Image

Installation:
Placement: In the topic

Code: Select all

jQuery(document).ready(function() {
$('h4.username a[href="/uID"]').after('<img src="https://i.imgur.com/e3mxHcE.png" style="padding-left: 4px;" alt="Verified User" title="Verified User">');
});
Ask in the comments for a help.

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest