|
|
Re:JoomlaJoe's (aka Mambojoe) Xmas Present!
|
|
Date: 2005/12/09 12:07
|
By: JoomlaJoe
|
Status: Admin
|
|
|
Karma: 14  
|
|
Admin  | Posts: 38 |   | |
|
Thank you all for your kind wishes and compliments! Believe it or not this is actually my first joomlapolis post! Here's to wishing you all a very Merry Christmas and the happiest of New Years! May your stockings be filled with CB Plugins! 
Post edited by: joomlajoe, at: 2005/12/09 06:11 JoomlaJoe *The developer formally known as MamboJoe* CB Core Team
|
|
The administrator has disabled public write access. |
|
|
|
Re:JoomlaJoe's (aka Mambojoe) Xmas Present!
|
|
Date: 2005/12/10 00:39
|
By: hypnotoad
|
Status: User
|
|
|
Karma: 19  
|
|
Senior Joomlapolitan  | Posts: 86 |   | |
|
Thanks for the CB so far (and all future developments) - and especially for this Mambot! So far was was hacking this exact behaviour into the Joomla-core, every Security patch was alot of search and replace then... CB 3rd Party Developer: jAwards | GalleryTab for CB (Ponygallery, ML)
|
|
The administrator has disabled public write access. |
|
|
|
Re:JoomlaJoe's (aka Mambojoe) Xmas Present!
|
|
Date: 2005/12/31 02:58
|
By: yatesf
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 14 |   | |
|
This project has absolutely changed my life for the better. Thanks a million team -Fred
|
|
The administrator has disabled public write access. |
|
|
|
Re:JoomlaJoe's (aka Mambojoe) Xmas Present!
|
|
Date: 2006/03/06 05:12
|
By: hypnotoad
|
Status: User
|
|
|
Karma: 19  
|
|
Senior Joomlapolitan  | Posts: 86 |   | |
|
nant wrote:
This is exactly the mentality of the CB Team - hacks are good but they cannot compare to well thought-out features. That's good to hear!
And now I'm giving a bit back to the community, hopefully it'll help someone. At my site, I have some articles imported from an old homepage (before we had an CMS), which are not associated to any member, but have an Author Alias. They are submitted with the Administrator-Account, and of course I don't want that name to show up, but the original instead. Plus, I want (in all other cases) the username shown, not the name! Thus, here's a modified AuthorBot:
| Code: |
function CBAuthorBot (&$row, &$params, $page) {
if (!$row->created_by_alias){
global $database;
$query="select username from #__users where id=".$row->created_by;
$database->setQuery($query);
$name=$database->loadResult();
$row->author="<a href=\"".sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&user='.$row->
created_by)."\">".$name."</a>";
}
}
|
Slightly related to that: Can the Mambot be modified in a way to change the names in the tables (category / section overview) too? Looks strange to have peoples' real names there, instead of the username... CB 3rd Party Developer: jAwards | GalleryTab for CB (Ponygallery, ML)
|
|
The administrator has disabled public write access. |
|
|