Customization > Blocks and Modifications
New Staff Block
grafitus:
Many people already wanted to do it; adding new groups, excluding some of members...
New Staff Block allows those:
+ displaying entered groups (separated with commas)
+ excluding entered members (separated with commas)
+ sorting in ascending (by default, sort entered groups IDs -- thanks to Sinan for this)
Before I forget, it works with SMF 2.0 versions.
If you want this; install attached mod file via Package Manager, and you'll see the Sun. 8)
slop_chute:
I tried this out with my local xampp install.
Installed via package manager with no errors
SMF2.0 RC5
SP 2.3.3
MODS:
1. Aeva ~ Auto-Embed Video & Audio 7.1
2. Clean Thread Icons 1.0
3. Gamer IDs 1.02
4. Join date and Location in Posts 1.1
5. Member Awards 2.2.3
6. MessagePreviewOnHover 1.7
7. newstaffblock 1.0
8. Simple .htaccess Bot Blocker Mod 1.1
9. SimplePortal 2.3.3
When I configure and deploy the block I get these errors...
--- Code: ---http://localhost/prod/index.php?
8: Undefined index: group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2376
http://localhost/prod/index.php?
8: Undefined index: link
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375
http://localhost/prod/index.php?
8: Undefined index: id_group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375
http://localhost/prod/index.php?
8: Undefined index: group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2376
http://localhost/prod/index.php?
8: Undefined index: link
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375
http://localhost/prod/index.php?
8: Undefined index: id_group
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2375
http://localhost/prod/index.php?
8: Undefined index: id
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2360
http://localhost/prod/index.php?
2: array_multisort() [<a href='function.array-multisort'>function.array-multisort</a>]: Array sizes are inconsistent
File: C:/xampp/htdocs/prod/Sources/PortalBlocks.php
Line: 2350
--- End code ---
Not sure what the snag is...
Thanks
Old Fossil:
Did you fill in the block which from the image says Untitled?
slop_chute:
Sure did... I even have tried several group combos. This image was just from the last attempt and I just left at the default text. Also removed and re-installed more than once via pkg manager. .
Thanks
SrMorte:
With happens the same thing.
Only appears one member icon and nothing more.
The version of my SMF is 2.0 RC4 and the SP is 2.3.3
Navigation
[0] Message Index
[#] Next page
Go to full version