Support Forums

Click here to Renew or Upgrade Shows On Some Ads And Not On Others

This is a discussion on Click here to Renew or Upgrade Shows On Some Ads And Not On Others within the Technical Support forums, part of the Technical Support Forums category; I have the latest version and I am using the default template. The link "Click here to Renew or Upgrade" ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 06-16-2011, 11:57 AM   #1
Junior Member
 
Join Date: Feb 2011
Posts: 4
Rep Power: 0
quickregister is on a distinguished road
Question Click here to Renew or Upgrade Shows On Some Ads And Not On Others

I have the latest version and I am using the default template.

The link "Click here to Renew or Upgrade"
or just "Upgrade"
shows up on some ads in some accounts and
not in other accounts when I click on browse listings.

I have customers who want to upgrade and get featured
but have no link to do so.

When I look in my admin account on my test ads the links are there.

When I create a new account with new test ads there are no links
to upgrade when I log into my account and click browse listings.

So customers cannot upgrade their free listings.

I have looked on the forum and I have not found any answers to this. Please advise.

Thank you,

Matt



What version of 68 Classifieds are you running?
Example: V4.1.6 Designer

What template are you using?


Please describe in detail the issue you are having:
quickregister is offline   Reply With Quote
Old 06-16-2011, 12:51 PM   #2
Junior Member
 
Join Date: Feb 2011
Posts: 4
Rep Power: 0
quickregister is on a distinguished road
Default Shows only in admin account

The click here to renew link only shows in admin account. I cannot figure out how to get it to show to registered users.
quickregister is offline   Reply With Quote
Old 06-16-2011, 12:55 PM   #3
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Do you actually allow upgrades for the ads packages that are not showing "upgrade"?

Each Ad Listing Package that you create has the option of whether you "Allow ..." Featured, Highlighted and Bold. If these are not checked for the ad package then of course it wouldn't be offered.

When you are in the admin, you can do anything with a listing, because you ARE the admin, so OF COURSE these options show.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 06-16-2011, 12:57 PM   #4
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by quickregister
The click here to renew link only shows in admin account. I cannot figure out how to get it to show to registered users.
Again, do you "Allow" ad renewals?Administration/Settings/Checkout settings.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 06-16-2011, 01:21 PM   #5
Junior Member
 
Join Date: Feb 2011
Posts: 4
Rep Power: 0
quickregister is on a distinguished road
Default Ad Renewal Set To Yes

Quote:
Originally Posted by Mike-N-Tosh
Again, do you "Allow" ad renewals?Administration/Settings/Checkout settings.
Ad renewals are set to Yes in the above setting and always have been.

I even took another one of my accounts and upgraded in to administrator, gave it all the same priviledges and the ads there do NOT show the renewal links under expiration. The only one that shows the click to renew link are the ads in the original admin account.

And yes the package allows upgrades, highlight and bold. If they just set up a new ad they can order all these options. They simply have no way to renew their ads. The only way to renew is to set up a completely new ad. I have it set to send an email 7 days before to ask them to renew. I am not sure if that affects the click here to renew link under expiration or not.

I am really stumped here.

Any other ideas?

Thanks

Matt

Last edited by quickregister; 06-16-2011 at 01:27 PM.
quickregister is offline   Reply With Quote
Old 06-16-2011, 01:40 PM   #6
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

Submit a support ticket with the following information:

FTP login
68 Classifieds Installation Admin username/password

And I'll take a look and see what's going on.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 06-16-2011, 07:12 PM   #7
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

For anyone else this is the solution for this problem and will be included in the next release:

includes/classes/kernel/Listings.php line:688

find:
PHP Code:
if (isset($_SESSION['uid']) and $_SESSION['uid'] != and $_SESSION['uid'] == $userid)
{
    if (
$_SESSION['userlevel'] != $row['pGroup'])
    {
        
$row['renew_allowed'] = 'N';
    }

replace with:
PHP Code:
if (isset($_SESSION['uid']) AND $_SESSION['uid'] == $userid)
{
    if (
$_SESSION['userlevel'] != $row['pGroup'] AND $row['pGroup'] != 0)
    {
        
$row['renew_allowed'] = 'N';
    }

If all usergroups are allowed, $row['pGroup'] = 0, if allowed for a specific usergroup was chosen it would have worked correctly as it would equal the individual usergroup id. Now it will skip the check if its allowed for all usergroups.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Renewal option still shows when I click on upgrade? arivederchi Technical Support 7 06-21-2010 06:41 PM
Click Button cqcr TemplateCodes 3 11-16-2009 05:34 AM
4.1.4 Bug in ad renew jobesmind Technical Support 1 06-26-2009 04:22 PM


All times are GMT -4. The time now is 04:07 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0