Login to Site
Don't have an account yet? Sign up as a New User
Lost your password?
Whos Online
Guest Users: 4
Chatterblock
Registered user feature
Whats New
StoriesNo new stories
Comments last 2 daysNo new comments
No new files
No new comments
Links last 2 weeksNo recent new links
MEDIA GALLERY Last 7 DaysNo new media items
|
|
| guganbl |
 |
June 18 2007 17:21 PM (Read 1628 times)
|
|
|
| guganbl |
|

Junior
Status: offline
Registered: 06/18/07
Posts: 5
|
:?:
I have purchased and installed eventmgr plugin on gl 1.4.0sr5-1 and everything works perfect but one thing.
In administration panel under "event registration" numbers are not ok. They are going up , but they are not going down. The thing is when i had only 1 event it was ok, and when i deleted event , in event registration was still number 1 standing and when i click link of course there is no events inside since i have deleted it. I tryed to add more events and was the same.... number next to event registration was increeseng, and when i have deleted all events it stayed. Now i have "Event Registration (4)" and 0 events....
I followed instalation guide step by step ( at least i think so ) and plugin works perfect except this litle bug....
Anyone can help ?
Thanx,
Sasa
|
| |
|
|
| Blaine |
 |
June 18 2007 21:25 PM
|
|
|
| Blaine |
|

Admin
 Status: offline
Registered: 03/01/02
Posts: 3576
|
Thanks for the purchase :)
I actually also installed it on site today and tested the adding and deleting of events and have not see this issue.
I may need you to let me have access to your site to see the issue.
Please consider contributing to support my efforts ..
|
| |
|
|
| Blaine |
 |
June 19 2007 08:08 AM
|
|
|
| Blaine |
|

Admin
 Status: offline
Registered: 03/01/02
Posts: 3576
|
Oh, I see the count that is displayed in the Admin Menu is indicating (4) but there is only 1 event as seen by the event registration plugin.
Update the registration plugins functions.inc with this new function - approx line 75
PHP Formatted Code
/**
* returns the administrative option for this plugin
*
*/
function plugin_getadminoption_registration ()
{
global $_TABLES, $LANG_REG00, $_CONF;
if (SEC_hasRights ('registration.edit')) {
$sql = "SELECT count(*) FROM {$_TABLES['events']} event, {$_TABLES['reg_events']} registered WHERE event.eid=registered.eid";
$query = DB_query ($sql);
list ($eventCount) = DB_fetchArray ($query);
return array($LANG_REG00['useradmintitle'], $_CONF['site_admin_url'] . '/plugins/registration/index.php', $eventCount);
}
}
Please consider contributing to support my efforts ..
|
| |
|
|
| guganbl |
 |
June 19 2007 08:25 AM
|
|
|
| guganbl |
|

Junior
Status: offline
Registered: 06/18/07
Posts: 5
|
it worked perfect, thanx , now it shows value like it is.
Regards,
Sasa
|
| |
|
|
| Content generated in: 0.67 seconds |
|
|