Skip to Content Skip to Menu

Need Help w/ Plugin

18 years 9 months ago #6153 by hansmeiser
Replied by hansmeiser on topic Re:Need Help w/ Plugin
hi,

this is really great, thank you! :)

But which files exaclty to patch with e.g.
<?php $this->plugin( 'cbprofilelink', $review, 'icon') ?>

I tried many different. Sometimes the icon came up, but on confusing places. (e.g. after the navigation arrows on the bottom of the "details" page below the reviews.

I want the icon/name to be displayed right next to the "new" and rating points, next to the title of the listing.

And: i sit possible that the name of the reviewer (e.g. "Reviewed by herbert, 2006-02-12") directly under the review title, will be the name link to the profile and not needed another icon to go to profile?


Thanks,
Norman

Please Log in or Create an account to join the conversation.

  • andyahoo
  • andyahoo
  • OFFLINE
  • Posts: 77
  • Thanks: 0
  • Karma: 7
18 years 9 months ago #6194 by andyahoo
Replied by andyahoo on topic Re:Need Help w/ Plugin
Sorry if my question has an obvious answer that i'm missing.

Great plugin first of all.

I would like to use the little profile icon instead of the avatar in the directory listing details template. Is this possible. I can get the icon to show up but the code is suppost to be used in the reviews template, so the link does not work. I don't need to use the reviews plugin. Anything I could do to get this to work?
Thanks



Post edited by: andyahoo, at: 2006/02/13 18:13

Post edited by: andyahoo, at: 2006/02/13 18:15

Joomla! 1.0.9
CB 1.0

Attachments:

Please Log in or Create an account to join the conversation.

  • gotMoxie
  • gotMoxie
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 5
18 years 9 months ago #6243 by gotMoxie
Replied by gotMoxie on topic Re:Need Help w/ Plugin
andyahoo,

Yes. Sorry I wasn't very clear. The choices "avatar", "icon", and "name" are all interchangable. It's the other part of the code that needs to change based on what template you are putting it in. So you can mix and match the avatar, icon, and name parameters all you want.

Hope that helps,

Post edited by: gotmoxie, at: 2006/02/13 22:36

Sam Lewis
Moxie Media, LLC

CB3PD

Please Log in or Create an account to join the conversation.

  • gotMoxie
  • gotMoxie
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 5
18 years 9 months ago #6244 by gotMoxie
Replied by gotMoxie on topic Re:Need Help w/ Plugin
hansmeiser,

Sure, in your Reviews template replace this code:

[code:1]<?php echo $this->_MT_LANG->REVIEWED_BY ?> <b><?php echo ( ($review->user_id) ? $review->username : $review->guest_name); ?></b>, <?php echo $review->rev_date ?>[/code:1]

with this:

[code:1]<?php echo $this->_MT_LANG->REVIEWED_BY ?> <b><?php $this->plugin( 'cbprofilelink', $review, 'name') ?></b>, <?php echo $review->rev_date ?>[/code:1]

Hope that helps,

Sam Lewis
Moxie Media, LLC

CB3PD

Please Log in or Create an account to join the conversation.

  • andyahoo
  • andyahoo
  • OFFLINE
  • Posts: 77
  • Thanks: 0
  • Karma: 7
18 years 9 months ago #6247 by andyahoo
Replied by andyahoo on topic Re:Need Help w/ Plugin
Thank you,

Now it seems obvious to me. This little plugin is going to do wonders for my site:woohoo: :woohoo:

Joomla! 1.0.9
CB 1.0

Please Log in or Create an account to join the conversation.

  • andyahoo
  • andyahoo
  • OFFLINE
  • Posts: 77
  • Thanks: 0
  • Karma: 7
18 years 9 months ago #6608 by andyahoo
Replied by andyahoo on topic Re:Need Help w/ Plugin
I have the profile link in my mosets "listing details" template. The links to profiles show up fine. My problem is that as an admin when you add listings in the mosets backend the profile icon link shows up on all those listings in the frontend linking to the admins profile. I don't want the profile link to be there if the admin adds the link. Is there a way to do this or would it be too much work.

Thanks,

Andy

Joomla! 1.0.9
CB 1.0

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum