[cBB Blockgets 1.0.3] Fatal error


no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Mon Mar 18, 2013 3:34 pm • via Web
In blockgets there is also your Follower and Download mod, but everything works fine there.
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Mon Mar 18, 2013 3:58 pm • via Web
Ok, Its possible that I find the problem but i'm not sure.

Try this:
Open: oglasnik/includes/functions_buysell.php
Find:
Code: Select all
   $template = ($auth->acl_get('u_can_extend_classifieds')) ? "cl_ad_expired_user_extend" : "cl_ad_expired";
   $messenger->template($template, $user_lang);

Replace with:
Code: Select all
   $email_template = ($auth->acl_get('u_can_extend_classifieds')) ? "cl_ad_expired_user_extend" : "cl_ad_expired";
   $messenger->template($email_template, $user_lang);
no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Mon Mar 18, 2013 4:05 pm • via Web
WORKS! You're just great! Can you explain what cause the problem? Was the email problem with expired ads? Because I didn't get any email when my add expired.

But it still looks odd on forum index. Take a look.
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Mon Mar 18, 2013 4:27 pm • via Android
The problem is bug on classifieds mod. It used the $template variable as simple text, destroying the original template object.

i don't know the reason to not receive the expiration emails.
check the error log in the acp. It possinle that the email error appears on it
no_avatar
mladiucitelj
 
Posts: 153
Joined: Sun Sep 02, 2012 11:40 pm
Location: Slovenia, Europe
 Mon Mar 18, 2013 4:32 pm • via Web
No error in error log for classifieds mod. Thanks anyway.

But what about the look of ads on forum index? Does this has to do anything with blockgets? Or it's because of KB mod? It used to show right before it.
Previous

Who is online

Users browsing this forum: No registered users and 0 guests