*

epoolroy

  • ***
  • 121 posts
Replace fancy box with comment place
« on: August 30, 2018, 06:29:17 AM »
hello, how can i replace a comment place with show user rating view?
I want delete a comment area (original) and replace with show user rating fancy box..

see a attach file below
« Last Edit: August 30, 2018, 06:32:41 AM by epoolroy »

*

MB Themes

Re: Replace fancy box with comment place
« Reply #1 on: August 30, 2018, 08:43:14 AM »
@epoolroy
You may start by trying to include this box file into item.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ***
  • 121 posts
Re: Replace fancy box with comment place
« Reply #2 on: August 30, 2018, 09:27:07 AM »
@epoolroy
You may start by trying to include this box file into item.php

can you assist me how to do that?
thank you

*

MB Themes

Re: Replace fancy box with comment place
« Reply #3 on: August 30, 2018, 10:08:58 AM »
In file:
oc-content/plugins/user_rating/index.php

bellow:
Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}


add:
Code: [Select]
osc_add_hook('item_detail', 'ur_show_rating');

That will add box to to item_detail, ... next is on you
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ***
  • 121 posts
Re: Replace fancy box with comment place
« Reply #4 on: August 30, 2018, 10:19:21 AM »
In file:
oc-content/plugins/user_rating/index.php

bellow:
Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}


add:
Code: [Select]
osc_add_hook('item_detail', 'ur_show_rating');

That will add box to to item_detail, ... next is on you

Sorry sir, i still not understand... i already put a code below

Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}
osc_add_hook('item_detail', 'ur_show_rating');

But how can i edit in item.php
can you assist me

*

MB Themes

Re: Replace fancy box with comment place
« Reply #5 on: August 30, 2018, 10:34:39 AM »
adding this code should not require modifications in item.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ***
  • 121 posts
Re: Replace fancy box with comment place
« Reply #6 on: August 30, 2018, 10:36:24 AM »
adding this code should not require modifications in item.php

So, how can i replace old comment with this?
i already delete a code old Comment and how can i put a fancy box for replace a comment?

*

MB Themes

Re: Replace fancy box with comment place
« Reply #7 on: August 30, 2018, 10:54:39 AM »
In file:
oc-content/plugins/user_rating/index.php

bellow:
Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}


add:
Code: [Select]
osc_add_hook('item_detail', 'ur_show_rating');

That will add box to to item_detail, ... next is on you

Sorry sir, i still not understand... i already put a code below

Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}
osc_add_hook('item_detail', 'ur_show_rating');

But how can i edit in item.php
can you assist me


You must also check CSS to make it visible, format it properly and show just what you want to show.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ***
  • 121 posts
Re: Replace fancy box with comment place
« Reply #8 on: August 30, 2018, 11:04:03 AM »
In file:
oc-content/plugins/user_rating/index.php

bellow:
Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}


add:
Code: [Select]
osc_add_hook('item_detail', 'ur_show_rating');

That will add box to to item_detail, ... next is on you

Sorry sir, i still not understand... i already put a code below

Code: [Select]
function ur_show_rating() {
  include 'user/rating.php';
}
osc_add_hook('item_detail', 'ur_show_rating');

But how can i edit in item.php
can you assist me


You must also check CSS to make it visible, format it properly and show just what you want to show.

Im not a programming user... please assist me... i just want remove a fancy box and replace with static like old comment...

*

MB Themes

Re: Replace fancy box with comment place
« Reply #9 on: August 30, 2018, 11:31:48 AM »
It's a lot of styling, check css guides:
https://www.w3schools.com/css/
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ***
  • 121 posts
Re: Replace fancy box with comment place
« Reply #10 on: August 30, 2018, 11:43:51 AM »
It's a lot of styling, check css guides:
https://www.w3schools.com/css/

I just want all content in fancy box replace like comment..
that mean, all my user can view all rating post not in fancy box (pop up) ...

*

MB Themes

Re: Replace fancy box with comment place
« Reply #11 on: August 30, 2018, 11:46:26 AM »
@epoolroy
I know what you want, but it's not "just", there is lot of work behind. This box is not intend to replace comments.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ***
  • 121 posts
Re: Replace fancy box with comment place
« Reply #12 on: August 30, 2018, 11:51:00 AM »
@epoolroy
I know what you want, but it's not "just", there is lot of work behind. This box is not intend to replace comments.

okay, thank you for you answer