Results 1 to 10 of 10

Thread: Broken Blog/Gallery/Guestbook from Articles

  1. #1
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Broken Blog/Gallery/Guestbook from Articles

    v4 patch 2 bug reported via PM by gomsx... confirmed to also exist in CLEAN v0.04

    Quote Originally Posted by gomsx
    When you log in to your account and click at the bottom on "articles" you will go to the articles page. When you enter this page and you are logged in try in the menu to click on "guestbook" , "My Blog" , "My Gallery" the links are broken it will search in the map articles for the files guestbook.php blog.php gallery.php
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  2. #2
    valentino
    Guest

    Default guestbook

    So is there a fix for this?

  3. #3
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Hi,

    You can give this a try... in your menu include, for example, menu_design_act.inc.php file, find the links for the guestbook and blog.

    Around line 292:

    Code:
    	$ret .= ('on' == $enable_guestbook) ? MenuItem("#FF6600",_t("_my_guestbook"), "", "guestbook.php?to={$gid}", "", 1) : "";
    	$ret .= ('on' == $enable_blog) ? MenuItem("#F3C302",_t("_my_blog"), "", "blog.php?owner={$gid}", "", 1) : "";
    Add the $site[url] to the menu item, example shown (changes may be needed for your template if not using ACT - look carefully):
    Code:
    	$ret .= ('on' == $enable_guestbook) ? MenuItem("#FF6600",_t("_my_guestbook"), "", "guestbook.php?to={$gid}", $site[url], 1) : "";
    	$ret .= ('on' == $enable_blog) ? MenuItem("#F3C302",_t("_my_blog"), "", "blog.php?owner={$gid}", $site[url], 1) : "";
    In the ACT template - the "My Gallery" menu code was correct. If this link is broken in your template - make similar changes as shown for "My Guestbook" and "My Blog" above.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  4. #4
    strategist
    Guest

    Default

    This mod works for ae4. Thanks Smoge.

  5. #5
    valentino
    Guest

    Default articles -> guestbook, blog and gallery don't work

    Don't work for me....tried it, using the def template.

  6. #6
    chris c
    Guest

    Default missing script

    Smoge, this part of the script is completely missing from my g4 template? I would like to test but what to do, what to do ?

    chris c
    Last edited by Smoge; 10-31-2005 at 08:06 PM.

  7. #7
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by valentino
    Don't work for me....tried it, using the def template.
    Yes - it's much the same in DEF

    In menu_design_def.inc.php, around line 185, find:

    Code:
    	$ret .= ('on' == $enable_guestbook) ? MenuItem("_green",_t("_my_guestbook"), "", "guestbook.php?to={$gid}", "", 1) : "";
    	$ret .= ('on' == $enable_blog) ? MenuItem("_green",_t("_my_blog"), "", "blog.php?owner={$gid}", "", 1) : "";
    	$ret .= ('on' == $enable_gallery) ? MenuItem("_green",_t("_my_gallery"), "", "gallery.php", "", 1) : "";
    Replace with:

    Code:
    	$ret .= ('on' == $enable_guestbook) ? MenuItem("_green",_t("_my_guestbook"), "", "guestbook.php?to={$gid}", $site[url], 1) : "";
    	$ret .= ('on' == $enable_blog) ? MenuItem("_green",_t("_my_blog"), "", "blog.php?owner={$gid}", $site[url], 1) : "";
    	$ret .= ('on' == $enable_gallery) ? MenuItem("_green",_t("_my_gallery"), "", "gallery.php", $site[url], 1) : "";
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  8. #8
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    I just checked G4 - and it was already coded correctly. To test it - go to the "articles" at the bottom of the page - then check your links to Blog, Guestbook, and Gallery.

    Quote Originally Posted by chris c
    Smoge, this part of the script is completely missing from my g4 template? I would like to test but what to do, what to do ?

    chris c
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  9. #9
    chris c
    Guest

    Default Works

    Quote Originally Posted by Smoge
    I just checked G4 - and it was already coded correctly. To test it - go to the "articles" at the bottom of the page - then check your links to Blog, Guestbook, and Gallery.
    Smoge,

    Aha...i am on the same page now, sorry i must not be thinking... yes the links work, thanks.

    chris c

  10. #10
    valentino
    Guest

    Default missing links

    Oke Smog, that one worked for me.
    Great..thanks again!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Blog / Guestbook
    By cherishthewrd in forum Blog / Guestbook
    Replies: 0
    Last Post: 06-02-2010, 07:28 AM
  2. Blog & Blog Post Editing/Deleting Not Happening
    By codejungle in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 09-09-2008, 01:47 PM
  3. Broken Classifieds Script.
    By lynsanity in forum Dolphin General Discussion v6.00 and above
    Replies: 6
    Last Post: 07-26-2008, 02:55 PM
  4. GB, Blog, gallery buttons in profile.php
    By european in forum FAQ & HOWTO
    Replies: 1
    Last Post: 03-07-2007, 01:33 AM
  5. Chat Now broken in v4.01 ACT
    By Smoge in forum Bugs and Fixes
    Replies: 0
    Last Post: 07-23-2005, 01:12 AM

Bookmarks

Posting Permissions

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