Results 1 to 14 of 14

social bookmarks for special usergroups

This is a discussion on social bookmarks for special usergroups within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, is there any way to use social bookmark icons and links just for special groups? thanx...

  1. #1
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times

    social bookmarks for special usergroups

    Hi,
    is there any way to use social bookmark icons and links just for special groups? thanx

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    Hello,

    you can modify functions_vbseo_seo.php file for thaT:
    find:
    PHP Code:
    global $vbseo_bmlist$vbphrase
    add below:
    PHP Code:
    if(!is_member($GLOBALS['bbuserinfo'],array(1,2,3)))return array(); 

  3. #3
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    I did it but now I can not open any thread! and I see white screen without anything and page is comleted!!can you tell me where I should enter usergroup id?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    It means that you have applied modification incorrectly. You should revert your changes, make sure that threads are opening now, and then try to re-apply modification.

  5. #5
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    sorry where should I verify usergroup id?!

  6. #6
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    You can check them within Admincp > Usergroups
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  7. #7
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    I mean, I added that code whereyou say without any changes but after that no pages were opened! Am I change anything in this code?I mean in this line where should I verify usergroups?

  8. #8
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    What is the code you added ?
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  9. #9
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    if(!is_member($GLOBALS['bbuserinfo'],array(6,)))return array();

  10. #10
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    I wanted some changes to be able to restrict the access to social bookmark icons and in post #2 OLEG said that I can add this code in function_vbseo_seo and I added it but ...

  11. #11
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    :-?

  12. #12
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    The code Oleg posted is for multiple usergroups. Try adding another usergroup id and your problem will be solved.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  13. #13
    Junior Member
    Real Name
    Saeid
    Join Date
    Feb 2009
    Posts
    22
    Liked
    0 times
    :((
    I changed function_vbseo_seo as it:

    Code:
    global $vbseo_bmlist, $vbphrase;
    if(!is_member($GLOBALS['bbuserinfo'],array(6,38,35)))return array(); 
    if (!$vbseo_bmlist)
    but the problem exists yet and after adding red line, no pages are opened! and white screen appears.

  14. #14
    Senior Member Silmarillion's Avatar
    Real Name
    Christian
    Join Date
    Jul 2005
    Location
    Germany
    Posts
    412
    Liked
    1 times
    What do i have to do/add to show social bookmark icons to guests only?
    Forum rund um das Thema Fußball: Fanlager.de
    Forum rund um das Thema Fantasy: Fantasy-Foren.de
    Forum rund um das Thema Alternative Musik: Alternative-Musik-Forum.de

Similar Threads

  1. Social Bookmarks
    By Nuguru in forum General Discussion
    Replies: 1
    Last Post: 08-05-2008, 09:43 PM
  2. Social Bookmarks
    By jluerken in forum Deutsch
    Replies: 2
    Last Post: 09-06-2007, 07:37 AM
  3. about the social bookmarks
    By pablasso in forum vBSEO Features Archive
    Replies: 8
    Last Post: 09-17-2006, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •