inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 18, 2011 12:29:36 GMT -8
I'm trying to work out if there's any way of hiding mini profile, but just for certain boards.
I'd rather not give my board url out at this stage as its a board I'm working heavily on developing. I'm willing to pm if need be
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Mar 18, 2011 15:34:26 GMT -8
are you wanting help to write this yourself or have someone write it for you?
plan of action: 1. identify if you are on the board you want the code to affect 2. scan through TD elements looking for miniprofile attributes like width=20%, className='windowbg' or 'windowbg2', align='left, and vAlign='top' 3. put in something to take care of the "author" cell at the top of that column 4. decrease the colSpan of the rows with buttons (search/reply/share/print/admin functions)
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 18, 2011 15:37:34 GMT -8
I'd be willing to write this myself, given enough guidance.
for scanning through the elements would it be utilising an 'if' statement? as in if (match these conditions){do this} ?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Mar 18, 2011 15:42:40 GMT -8
a for loop, and then an if statement inside. basically the same method you can find in any code that already does something to the mini profile.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Mar 18, 2011 16:04:54 GMT -8
Okay - I think I've got it done ^_^ I just need to check it for crossbrowserness now xD
|
|