Loading


Advertisement:

Author Topic: [PLUGIN] Seller Verification - To make user become Verified Seller  (Read 11531 times)

nejwrks

  • Newbie
  • *
  • Posts: 41
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #15 on: December 31, 2013, 09:41:39 am »
How could i make use of this in Bender Theme?  :-\

gnoe

  • Full Member
  • ***
  • Posts: 245
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #16 on: December 31, 2013, 12:19:50 pm »
Great plugin. Thanks for your contribution. :)

achmadzackyr

  • Newbie
  • *
  • Posts: 13
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #17 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

creat15

  • Full Member
  • ***
  • Posts: 202
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #18 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

achmadzackyr

  • Newbie
  • *
  • Posts: 13
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #19 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>
« Last Edit: January 08, 2014, 07:03:35 am by achmadzackyr »

creat15

  • Full Member
  • ***
  • Posts: 202
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #20 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
« Last Edit: January 08, 2014, 12:34:23 pm by creat15 »

mayasl

  • Newbie
  • *
  • Posts: 10
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #21 on: January 08, 2014, 11:59:51 pm »
Isn't there an easy way to install this plugin? :(

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2228
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #22 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

mayasl

  • Newbie
  • *
  • Posts: 10
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #23 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. :'(

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2228
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #24 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 ;)

Shezzan

  • Newbie
  • *
  • Posts: 39
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #25 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!!!!!

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2228
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #26 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).

:)

Shezzan

  • Newbie
  • *
  • Posts: 39
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #27 on: February 23, 2014, 11:36:40 am »
ok noted.regarding my questions, anybody want to help out?

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2228
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #28 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

searchweb

  • Jr. Member
  • **
  • Posts: 69
Re: [PLUGIN] Seller Verification - To make user become Verified Seller
« Reply #29 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.