Osclass forums

Development => Plugins => Topic started by: achmadzackyr on December 28, 2013, 08:38:27 pm

Title: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: achmadzackyr on December 28, 2013, 08:38:27 pm
Hello everyone,

I will introducing the seller verification plugin.
This plugin is my first osclass plugin. Maybe in the installation it will be rather hard than any other plugin.
If you find a bug, you can report here. I will try to solve it & try to make this plugin better.
Thanks to Web-Media for such a good tutorial about how to make a plugin.

I have tried this plugin into my os class site, version 3.2.2 with twitter themes. It's work fine.

I hope this plugin will be useful for us.

Regards,

Zacky


Readme.txt
Quote
This plugin makes the admin can verified user.


How to use
1. Login to admin site
2. Select edit user

There is 2 input admin should write.
1. Seller Verification - Input type checkbox. Check if you want to show the user verified image.
2. Seller Description - Input type string. That description will show as title of user verified image. It mean this input will showed if you hover cursor to user verified image.

If you want to chage the image of user verified. Just change the image in images folder.



How to install
1. Put this hook code <?php osc_run_hook('seller_verification',$user['pk_i_id']); ?> on oc-admin\themes\modern\users\frm.php line above this code <?php if(!$aux['edit']) { osc_run_hook('user_register_form'); }; ?>

2. Put this hook code <?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?> on wherever you want to show the verified seller images. Recommended place is to put it on main.php, search_list.php, item.php.

3. If you want to show it on main.php and search_list.php, you must put this code first
<?php View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var = User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: dev101 on December 29, 2013, 04:32:37 pm
Hi achmadzackyr,
sounds like a great plugin! Will give it a try and report back in couple of days.

Regards,
dev101
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Legion on December 29, 2013, 06:57:04 pm
a great plugin thanks a ton
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: MB Themes on December 29, 2013, 08:19:41 pm
@achmadzackyr
I very like idea to give specified users stamp Verified Seller so other users that are interested in buying stuffs can be sure they will not be stolen by someone using your classified.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: s51 on December 29, 2013, 09:48:33 pm

.
Hi achmadzackyr . . .

1.)
As @.frosticek say = I also ..really.. like your idea behind this plugin  8)
but unfortunately, - it does not work in version 3.3.2
(as said, a good idea, so keep up the pace OKAY)
- -

2.)
* Install progressing smoothly (apparent no errors)
* But no way it have impact on existing users, - OR new users (after  install seller_verification)
* By a direct click on: | Plugins Site from plugin ID info:
* 1 = Off.Line one only get the: The requested URL /*****/ was not found on this server.
* 2 = On.Line one are just redirected to the front pages of the ads
* Deaktivate  the plugin is apparently ok (but hard to estimate when it does not work)
* But uninstall is not working, one must manually remove all seller_verification files
- -


Best Regards.:/ s51   :)
.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: achmadzackyr on December 30, 2013, 12:19:58 am

.
Hi achmadzackyr . . .

1.)
As @.frosticek say = I also ..really.. like your idea behind this plugin  8)
but unfortunately, - it does not work in version 3.3.2
(as said, a good idea, so keep up the pace OKAY)
- -

2.)
* Install progressing smoothly (apparent no errors)
* But no way it have impact on existing users, - OR new users (after  install seller_verification)
* By a direct click on: | Plugins Site from plugin ID info:
* 1 = Off.Line one only get the: The requested URL /*****/ was not found on this server.
* 2 = On.Line one are just redirected to the front pages of the ads
* Deaktivate  the plugin is apparently ok (but hard to estimate when it does not work)
* But uninstall is not working, one must manually remove all seller_verification files
- -


Best Regards.:/ s51   :)
.

Thanks for the review.
I have try to osclass version 3.3.2 with bender themes and it's working.
In bender themes has different file structure with twitter themes, so if you want to show it on front page, put the run hook code on loop file, I have add run code on loop-single.php. You can see the screen shot below.
What themes are you using? Try to put the hook code below this code
Code: [Select]
while ( osc_has_latest_items() ) { Don't forget to read the readme  :D
It will take effect after you write the hook code.
And if you want to show it on main.php or search_list.php you must put this code first
Code: [Select]
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>

Quote
* By a direct click on: | Plugins Site from plugin ID info:
* 1 = Off.Line one only get the: The requested URL /*****/ was not found on this server.
* 2 = On.Line one are just redirected to the front pages of the ads
Sorry about plugin site, I don't have website yet to talk about this plugin, so I write it with "-". It is will not go anywhere if you click it. On the next version I will change it to this plugin post url.

Quote
* But uninstall is not working, one must manually remove all seller_verification files
- -
Uninstalling is just to remove the table, not remove plugin file.
One must manually remove is the hook code that you put to show the verification image.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: s51 on December 30, 2013, 02:31:02 pm

.
Hi achmadzackyr ...

1.)
>>I have try to osclass version 3.3.2 with bender themes and it's working.
In my test sandbox I,m also on _latest_ ver. 3.3.2 with newest Bender
BUT NO WAY - I can get it working - urghhh...
- -

2.)
The malfunction (or miss) come every time your code is set in to the: frm.php
because what I did not see yesterday was:
* When inserting your code as you described above, the original.....
* In backend you lose the ability to edit existing (and new) users - because:
* The entire update user (in page bottom) section disappear with an error message.
- -

3.)
Please open the attached file with description of the error, - and see for yourself.
You can get temporary FTP and PRG access to my Sandbox, and try fix it On.Line
- -


Best Regards.:/ s51
.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: creat15 on December 30, 2013, 03:35:56 pm
hi :)

thanks for your plugin

i try its works on osclass v3.0.2  ;D

===============================

i want to ask, how to show this plugin on search list?

i try your tutorial

Quote
3. If you want to show it on main.php and search_list.php, you must put this code first
<?php View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var = User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>

but not show status verification user/seller on search list?
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: achmadzackyr on December 30, 2013, 06:30:22 pm
hi :)

thanks for your plugin

i try its works on osclass v3.0.2  ;D

===============================

i want to ask, how to show this plugin on search list?

i try your tutorial

Quote
3. If you want to show it on main.php and search_list.php, you must put this code first
<?php View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var = User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>

but not show status verification user/seller on search list?

What theme are you using?
In twitter theme or maybe other theme too if its has the same code structure.
You can try to put this code
Code: [Select]
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
after <?php while ( osc_has_items() ) { ?> and <?php while ( osc_has_premiums() ) { ?>


Not just that code, same like in item.php you must put this hook code
Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?>on where you want to show the image, maybe you can try put the hook code before this code
Code: [Select]
<?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?>
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: design on December 30, 2013, 07:11:01 pm
this is a good idea!, thanks for following through with it- I look forward to using it on another site!
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: SmaRTeY on December 30, 2013, 07:14:15 pm
Hi Zacky,

Thanks for your contribution man!  8)

Very interesting plugin and definately added value for all users of osClass!!
Hope to hear more from your work in the future, seems like osClass can use people like yourself using their talents helping the community.

Many many MANY thanks!  :)


Regards,
Eric
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Ricky on December 30, 2013, 07:22:51 pm
TKS!!

Works great.

;)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: s51 on December 30, 2013, 10:14:52 pm

.
Hi  achmadzackyr - and all who you real subdomains . . .

1.)
* IMPORTANT NOTE:
Now I,m 100% sure when I write:
that in certain situations, - there ..is.. something wrong with your script.
- -

2.)
If OSClass is running in normal server root = (testet On.Line and Off.Line)
e.g. like.: http://www.domainroot.com/
-
then YES = your internal scrip code works as it should..
* Apparently due to the only one level of core referral paths
- -

3.)
BUT.....
If OSClass is running a level under root as a ..real.. subdomain = (testet On.Line and Off.Line)
e.g. like.: http://www.01subdomain.domainroot.com/
-
then NO = your internal scrip code DONT works as it should..
* apparently due to the one level more ,down, of core referral paths
* Because when we set OSClass as a ..real.. subdomain
* your referral paths have no idea where artificial root is.
- -

Best Regards.:/ s51


PS:
Just polite info to clear out - for those who can not tell the difference on:
1 - http://www.domainroot.com/somename/ = This ,set-up, is just a normal sub.dir - NOT a subdomain
2 - http://www.somename.domainroot.com/ = This ,set-up, is a REAL working subdomain
- -
So achmadzackyr - you must organize your code to work with ..real.. subdomain,s
* http://www.01subdomain.domainroot.com/  (e.g. car site 1)
* http://www.02subdomain.domainroot.com/  (e.g. car site 2)
* http://www.03subdomain.domainroot.com/  (e.g. car site 3)
* etc...etc...etc.
Thus this, - all subdomain,s on same rootdomain, - can work on the same DB - thats the beauty by ..real.. subdomains.
- -


Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: SmaRTeY on December 31, 2013, 12:56:00 am
I can imagine that the plugin documentation might need to stress that part of sub-domains out.... since this really does mean having to take things into account which otherwise could easily be overlooked and ARE being overlooked probably by more people than Zacky alone who are creating new plugins for osClass.

I did a quick peek at the 'how to' plugin documentation but nothing special regarding a possible subdomain pitfall....   :-X

Nice finding s51
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: creat15 on December 31, 2013, 07:50:01 am
hi :)

thanks for your plugin

i try its works on osclass v3.0.2  ;D

===============================

i want to ask, how to show this plugin on search list?

i try your tutorial

Quote
3. If you want to show it on main.php and search_list.php, you must put this code first
<?php View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var = User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>

but not show status verification user/seller on search list?

What theme are you using?
In twitter theme or maybe other theme too if its has the same code structure.
You can try to put this code
Code: [Select]
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
after <?php while ( osc_has_items() ) { ?> and <?php while ( osc_has_premiums() ) { ?>


Not just that code, same like in item.php you must put this hook code
Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?>on where you want to show the image, maybe you can try put the hook code before this code
Code: [Select]
<?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?>

hi :) thanks for reply

i try your tutorial

put this code after <?php while ( osc_has_items() ) { ?> and <?php while ( osc_has_premiums() ) { ?>

Code: [Select]
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>

and i put this code

Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?>
before code

Code: [Select]
<?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?>
but user verification status 'unverified' all there is no status of 'verified'

i use themes classic

The item.php his status verfication already verified, but the look in his search_list.php verification be unverified status, like the screenshot I gave this

thanks before
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: nejwrks on December 31, 2013, 09:41:39 am
How could i make use of this in Bender Theme?  :-\
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: gnoe on December 31, 2013, 12:19:50 pm
Great plugin. Thanks for your contribution. :)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: achmadzackyr on December 31, 2013, 12:44:55 pm

.
Hi  achmadzackyr - and all who you real subdomains . . .

1.)
* IMPORTANT NOTE:
Now I,m 100% sure when I write:
that in certain situations, - there ..is.. something wrong with your script.
- -

2.)
If OSClass is running in normal server root = (testet On.Line and Off.Line)
e.g. like.: http://www.domainroot.com/
-
then YES = your internal scrip code works as it should..
* Apparently due to the only one level of core referral paths
- -

3.)
BUT.....
If OSClass is running a level under root as a ..real.. subdomain = (testet On.Line and Off.Line)
e.g. like.: http://www.01subdomain.domainroot.com/
-
then NO = your internal scrip code DONT works as it should..
* apparently due to the one level more ,down, of core referral paths
* Because when we set OSClass as a ..real.. subdomain
* your referral paths have no idea where artificial root is.
- -

Best Regards.:/ s51


PS:
Just polite info to clear out - for those who can not tell the difference on:
1 - http://www.domainroot.com/somename/ = This ,set-up, is just a normal sub.dir - NOT a subdomain
2 - http://www.somename.domainroot.com/ = This ,set-up, is a REAL working subdomain
- -
So achmadzackyr - you must organize your code to work with ..real.. subdomain,s
* http://www.01subdomain.domainroot.com/  (e.g. car site 1)
* http://www.02subdomain.domainroot.com/  (e.g. car site 2)
* http://www.03subdomain.domainroot.com/  (e.g. car site 3)
* etc...etc...etc.
Thus this, - all subdomain,s on same rootdomain, - can work on the same DB - thats the beauty by ..real.. subdomains.
- -

I can imagine that the plugin documentation might need to stress that part of sub-domains out.... since this really does mean having to take things into account which otherwise could easily be overlooked and ARE being overlooked probably by more people than Zacky alone who are creating new plugins for osClass.

I did a quick peek at the 'how to' plugin documentation but nothing special regarding a possible subdomain pitfall....   :-X

Nice finding s51

Ow so that the problem, of course I have never test it on subdomain url type. So I don't know that this plugin will not work.
Thanks for the advice, in the future I will make this plugin better. Better documentation too. I hope I can solve the subdomain issue.
As I said in the first post, this is my first plugin, so I need time to learn about osclass more. Please be patient  ;D
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: creat15 on January 01, 2014, 07:19:15 am
hi :) thanks for reply

i try your tutorial

put this code after <?php while ( osc_has_items() ) { ?> and <?php while ( osc_has_premiums() ) { ?>

Code: [Select]
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>

and i put this code

Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?>
before code

Code: [Select]
<?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?>
but user verification status 'unverified' all there is no status of 'verified'

i use themes classic

The item.php his status verfication already verified, but the look in his search_list.php verification be unverified status, like the screenshot I gave this

thanks before
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: achmadzackyr on January 08, 2014, 06:53:46 am
hi :) thanks for reply

i try your tutorial

put this code after <?php while ( osc_has_items() ) { ?> and <?php while ( osc_has_premiums() ) { ?>

Code: [Select]
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>

and i put this code

Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?>
before code

Code: [Select]
<?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?>
but user verification status 'unverified' all there is no status of 'verified'

i use themes classic

The item.php his status verfication already verified, but the look in his search_list.php verification be unverified status, like the screenshot I gave this

thanks before

Sorry for very late reply, I'm very busy last week.
I just test it my self with classic theme v.1.2 & osclass v.3.3.2.
It works fine.

The modification that I have done for main.php & search_list.php are
Add
Code: [Select]
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
After this (line 47) if in main.php
Code: [Select]
<?php while ( osc_has_latest_items() ) { ?>OR
After this (line 60) if in search_list.php
Code: [Select]
<?php while(osc_has_items()) { ?>


And add this code to show it
Code: [Select]
<p><?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?></p>After this
Code: [Select]
<p><?php if (osc_item_region() != '') { ?><strong> <?php _e('Region : ''classic'); ?></strong><?php echo osc_item_region(); } if (osc_item_city() != '') { ?><strong> <?php _e('City : ''classic'); ?></strong><?php echo osc_item_city();  }?> <strong><?php _e(' Total Views: ''classic'); ?></strong><?php echo ItemStats::newInstance()->getViews(osc_item_id()); ?></p>
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: creat15 on January 08, 2014, 12:23:41 pm
hi :) thanks for reply

i try your tutorial

put this code after <?php while ( osc_has_items() ) { ?> and <?php while ( osc_has_premiums() ) { ?>

Code: [Select]
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>

and i put this code

Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?>
before code

Code: [Select]
<?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?>
but user verification status 'unverified' all there is no status of 'verified'

i use themes classic

The item.php his status verfication already verified, but the look in his search_list.php verification be unverified status, like the screenshot I gave this

thanks before

Sorry for very late reply, I'm very busy last week.
I just test it my self with classic theme v.1.2 & osclass v.3.3.2.
It works fine.

The modification that I have done for main.php & search_list.php are
Add
Code: [Select]
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>
After this (line 47) if in main.php
Code: [Select]
<?php while ( osc_has_latest_items() ) { ?>OR
After this (line 60) if in search_list.php
Code: [Select]
<?php while(osc_has_items()) { ?>


And add this code to show it
Code: [Select]
<p><?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?></p>After this
Code: [Select]
<p><?php if (osc_item_region() != '') { ?><strong> <?php _e('Region : ''classic'); ?></strong><?php echo osc_item_region(); } if (osc_item_city() != '') { ?><strong> <?php _e('City : ''classic'); ?></strong><?php echo osc_item_city();  }?> <strong><?php _e(' Total Views: ''classic'); ?></strong><?php echo ItemStats::newInstance()->getViews(osc_item_id()); ?></p>

hi, thanks for replying

I try your tutorial first
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: mayasl on January 08, 2014, 11:59:51 pm
Isn't there an easy way to install this plugin? :(
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: SmaRTeY on January 09, 2014, 12:37:51 am
Hi mayasl,

not really, as with almost al extra functionality people need to 'place' the code snippet in a place of their liking for it to show up. This is what makes OsClass very flexible and yes it also means you need to know a bit more than just clicking start. It's the way it is but you can Always hire people to help you out or ask here in the forums  8)

As you can see in this thread, people are going the extra mile for others to get it working in their theme.


Regards,
Eric
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: mayasl on January 09, 2014, 02:42:14 am
Hi mayasl,

not really, as with almost al extra functionality people need to 'place' the code snippet in a place of their liking for it to show up. This is what makes OsClass very flexible and yes it also means you need to know a bit more than just clicking start. It's the way it is but you can Always hire people to help you out or ask here in the forums  8)

As you can see in this thread, people are going the extra mile for others to get it working in their theme.


Regards,
Eric
Thank you for your response Eric.
When installing most of the other plugins I had to edit only a little in the php files. But this plugin has a whole lot to work on. Since I am not an excellent techy person, this thread makes me crazy. But badly want this plugin on. :'(
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: SmaRTeY on January 09, 2014, 05:26:51 pm
I agree, it is more work BUT taken into account that this is his first Plugin......  ::)

Just follow the instructions and if you get stuck on a particular part try to ask for help here, you might get the plugin actually to work on your site ;)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Shezzan on February 22, 2014, 06:03:54 pm
Dear achmadzackyr and forum,
First i would like to say thanks to many Indonesian developers \m/ because i got so many useful informations thanks to Indonesian people in here.
That is very cool i did not know about many skilled people from your Country.
I would like to ask you a favour, would you please explain better, step by step, how to integrate your plugin in a proper way in the BENDER theme.
I mean what file to open, what code to edit, to make it work properly.
I tried but i actually can't figure it out.
I would love to use your plugin that i think is very useful.
Thank you for your help!!!!!
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: SmaRTeY on February 22, 2014, 06:41:24 pm
Nice to know.... people in this community have gathered and are looking at the same, making sure ALL themes/plugins available will work with latest OsClass version (for starters).

:)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Shezzan on February 23, 2014, 11:36:40 am
ok noted.regarding my questions, anybody want to help out?
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: SmaRTeY on February 23, 2014, 02:23:11 pm
Looking at all the questions and issues I think this plugin is just NOT for the public yet in a prime phase of MAYBE becoming an OsClass plugin the way these are meant to work.....  8)

So if you're not a programmer forget about it or ask plugin owner when a new version will be available.
In the mean time, maybe somebody in the forums who got this plugin working the way it should can be of more help.


Regards,
Eric
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: searchweb on March 16, 2014, 06:26:33 pm
Plugin working but still have some bug. When click verified in admin, user will loss their region and city on profile page. When fill region and city in profile page, the verified status will missing and become unverified.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: ioasw on April 12, 2015, 12:07:32 pm
Still working on 3.5.5, even easier to install with the new loop files.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: migzhere on May 26, 2015, 09:42:59 pm
It would be nice if we can show this on the User's Dashboard and Public Profile pages :)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Hennessy Pappy on August 13, 2015, 07:47:04 pm
It would be nice if we can show this on the User's Dashboard and Public Profile pages :)


You can, just pass in the user id as argument. I used  <?php osc_run_hook('seller_verification_show',osc_user_id()); ?> for the public profile and  <?php osc_run_hook('seller_verification_show',osc_logged_user_id()); ?> for my site header..   

ps: I changed the icon.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: fre2mansur on October 05, 2015, 04:01:24 pm
why this plugin does not show the option in when I edit the user?
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: mixradu on February 18, 2016, 08:46:03 am
Hey, how to install in zara theme? (mb-themes?)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: servicesmary on February 19, 2016, 02:49:24 pm
Thank you for this plugin.

I have installed it and it works for latest ads but in main and search, premium ads don't show validated seller.

if i put this :

Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_logged_user_id()); ?>
and i'm logged, statut is ok. I

If i put this :
Code: [Select]
<p><?php osc_run_hook('seller_verification_show',osc_item_user_id()); ?></p>
statut left in unverified.

I tried to put every where on loop-list, loop-grid, loop-search-list, loop-search-grid :

Code: [Select]
<?php View::newInstance()->_exportVariableToView('user'User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>
<?php $user_var User::newInstance()->findByPrimaryKey(osc_item_user_id()); ?>

but unsucceful.

I have Osclass 3.6.1 and template Osclasswizards.

Someone have a solution for this.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: nucky on May 12, 2016, 05:27:38 pm
The solution of Hennessy Pappy works well for me with 3.6.1

So instead  of
Code: [Select]
osc_item_user_id() need to use
Code: [Select]
osc_user_id()
Full code:
Code: [Select]
<p><?php osc_run_hook('seller_verification_show',osc_user_id()); ?></p>
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: servicesmary on May 12, 2016, 05:33:43 pm
My solution :

I put this code for premium items :

Code: [Select]
<?php osc_run_hook('seller_verification_show',osc_premium_user_id()); ?>
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: anuituanu on June 19, 2016, 10:05:25 pm
i use this way to show verivied status in search (Osclass 3.6.1 and Osclasswizards 2.0.4 theme )

search.php
Code: [Select]
    <?php
    View::newInstance()->_exportVariableToView("listType"'premiums');
            
View::newInstance()->_exportVariableToView("listClass",$listClass.' premium-list');
            
osc_current_web_theme_path($loop_template);
            }
        
?>
replace with :
Code: [Select]
    <?php 
View::newInstance()->_exportVariableToView("listType"'premium_user_id');
            
View::newInstance()->_exportVariableToView("listClass",$user_var.' premium_user_id');
            
osc_current_web_theme_path($loop_template);
            }
        
?>

and
Code: [Select]
    <?php if(osc_count_items() > 0) {
        echo 
'<h5 class="title titles">'.__('Listings',OSCLASSWIZARDS_THEME_FOLDER).'</h5>';
?>

    <?php 

        
View::newInstance()->_exportVariableToView("listType"'items');
        
View::newInstance()->_exportVariableToView("listClass",$listClass);
            
osc_current_web_theme_path($loop_template);
    
?>
replace with :
Code: [Select]
    <?php if(osc_count_latest_items() > 0) {
        echo 
'<h5 class="title titles">'.__('Listings',OSCLASSWIZARDS_THEME_FOLDER).'</h5>';
?>

    <?php 

        
View::newInstance()->_exportVariableToView("listType"'latestItems');
        
View::newInstance()->_exportVariableToView("listClass",$listClass);
            
osc_current_web_theme_path($loop_template);
    
?>

i'm not sure and still not found yet, what the impact to search result....
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: ezybusy on August 14, 2016, 02:16:42 pm
Quote
There is 2 input admin should write.
1. Seller Verification - Input type checkbox. Check if you want to show the user verified image.
2. Seller Description - Input type string. That description will show as title of user verified image. It mean this input will showed if you hover cursor to user verified image.

I don't get these two inputs when trying to edit a user.
Am using OSCLASS 3.6.1 and bender

Any help???
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: nootkan on January 24, 2017, 06:30:39 am
It seems this doesn't work with the current version of osclass.  Is it now dead or still in play?
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: yellow53 on March 21, 2017, 01:01:52 am
Hello here :)

I'm using this verified user plugin and it's really a great idea.
it working fine on my osclass website.
However I also installed madhouse messenger plugin, and I would like to display the verified user logo on the messenger page (see attached pictures)

Could you tell me which code should I put here ?

Many thanks
Vincent
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: DVyneDesign on May 07, 2017, 04:56:28 am
So did anyone ever resolve the issue of the user becoming unverified after updating their profile?

I have this plugin working on the latest OSC 3.7 with the latest Wizards theme but struggling to find this bug..

:)
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: yellow53 on June 28, 2017, 01:28:34 am
Yes there is a problem.

When the user update his profile, then the verified option is removed....how can we do ?

Many thanks
Vincent
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Liath on June 28, 2017, 01:51:19 am
I cannot test it now, but you could try to reload the informations on edit page...

edit: oc-content/plugins/seller-verification/edit.php

add on first line
Code: [Select]
<?php
$detail 
SellerVerification::newInstance()->getSellerVerificationAttr(osc_logged_user_id());    
?>

but check, that are no blank spaces or lines on first position there...
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: yellow53 on June 28, 2017, 01:39:41 pm
Thanks Liath, I will try tonight !

By the way, is your project for multiple shops plugin still on going?

thanks
Vincent
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Liath on June 28, 2017, 05:26:39 pm
For now i have stopped it, but i will go on there after finishing more important projects
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: yellow53 on June 28, 2017, 10:50:00 pm
Hi Liath,

I tried your code, but unfortunately...didnt work.
Any other idea ? :)

many thanks
Vincent
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: Liath on June 29, 2017, 05:19:28 pm
I'll check this and post the soultion here, but please be patience.... at moment i have too many other important projects
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: yellow53 on June 30, 2017, 01:15:17 am
thanks a lot for your help and your time.
Title: Re: [PLUGIN] Seller Verification - To make user become Verified Seller
Post by: yellow53 on July 21, 2017, 12:47:47 pm
Dear Liath,

Did you have the time to check ?

many thanks,
Vincent