Webmastersite.net
Register Log In

Questions, Issues and more on using v6.0.11
Listing all of them here instead of individual threads - Vol - 1

Comments on Questions, Issues and more on using v6.0.11

blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
Posted Dec 25, 2010 - 10:03 AM:

I have been customising v6.0.11 for last couple of days and my goal is to have a 100% customised directory. Towards that, while doing so, I have bumped into some issues and have some questions on how to do/achieve certain changes.

The Vol - I of the same is listed below; [Thanks much in advance for any help]

1. URL for 'submit a listing' - category and sub-cat pages have cat-ID associated and other pages does not. Is there a single URL which can be used site-wide in header/wrapper accommodating both cat/sub-cat and other pages?

2. Is there an ability to display sub-categories in a drop down in top-level category display page?

3. Does it have wordpress integration - as in registered members on my directory be able to login to wordpress installation also - particularly if the wordpress is installed in a sub-domain (like blog.blogectory.com)?

4. When using the condition <IF {CATNUMSUB}> - works only for 1st level category pages, but what condition should I use if I want the condition to also include deeper level sub-categories? But the same, when controlled should not appear in non category or sub-category pages.
For example - I tried to move mod/admin controls and sub-cat stats in side panel of displaylinks.tpl to footer in wrapper.tpl. After trying a lot, I got this condition <IF {CATNUMSUB} or {SWITCH_TOPICTYPES} and {CATLINKSHERE}> to be working for now. Is that correct? or is there any specific single condition parameter, which I can use?

5. Can custom page links like this 'http://www.blogectory.com/index.php?custom=yes&TID=pages-aboutus' be made
Search engine friendly like http://www.blogectory.com/aboutus ??

6. Users online, online members, new member on homepage, members list page and elsewhere shows emailID of the member which can be prone to email-scrapping leading to users being scared of their email mis-use. Is there anyway to avoid this display when email login option is enaled?

7. Home page display of category views considers only top level category views. Is there any parameter which I can use to display total combined views of the top level category AND all levels of sub-categories under that top-level category?
7a. Likewise with total categories count including all levels of sub-categories also - is there any parameter which can define that?

8. Return to directory link in iframe brings the user back to home page - instead is it somehow possible to bring the user back to the same page from where he navigated away?

9. Membership status section in details.tpl page - is it visible to users only for a day or a certain duration? I am asking this because one of the links submitted in my dir (www.blogectory.com/society/...f-thoughts-emotions-1.html) used to have that section, but it is not showing up now.

10. Top 'X' Blogs - I have moved this to a separate custom page, but the form action goes to main page - how can I overcome that? Form action should load the same page.

11. Quote source is showing up complete URL - can this be changed to a link with link title as source?

12. POSSIBLE BUG: Enabling the switch 'Combine detail and comments pages'fails to display values/data in the 'membership status section of link details page. It looks like a bug to me in v6.0.11

13. How do I create RSS feeds for each category and sub-category?

14. I need to change the .png to .gif - Where exactly can i change for {CATFOLDERIMAGE} and other such source variables? Basically, I would liek to use gif's instead of png along with changing the default icons. How do go about doing it?

15. When a dot '.' is used in category title - looks like it fails to create a SE friendly URL but instead just inserts catID in the URL like example if I use 'web 2.0'. Any help?

Thanks much for any help.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 25, 2010 - 3:42 PM:

I'll get to the rest of the questions tomorrow probably, but here's a few of them:

1. suggest.php?action=addlink&catid={THISCATID} should work everywhere

9. It shows up as long as there's a valid owner of the listing. It's possible that the owner of that listing never validated their account and was automatically deleted after a few days.

10. Just edit the html to specify the appropriate page in the <form action...>... what page are you trying to submit it to?

11. What is "quote source"? Do you mean the source field in the quotes system? You're entering a URL in that? If so how exactly and for what purpose?

13. This is actually done automatically, the RSS icon in your browser shows a category-specific feed when you're in a category. If you want to put that somewhere else, use rssfeed.php?catid={CATID}

14. Not possible in the current release, so I'll make it possible for you in the next one. To patch the current version to enable it, upload the attached end.php to your base directory and tweakschema.wsn to your schemas directory, then go to Admin -> Misc -> Tweaks Editor and fill in the gifize tweak at the bottom with folder_empty.png,folder.png to make it use folder_empty.gif and folder.gif files you've uploaded to templates/images_default/.

15. You have two options to work around this -- you can edit the category to specify a special URL for it, or if you don't want to edit categories you can change the category rewrite scheme to {CATREWRITEPATH}-{CATID}/{PAGE}.html so that it always includes both number and name.

Attached Files:
blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
Posted Dec 26, 2010 - 11:02 PM:

Hi Paul,

1. I tried using suggest.php?action=addlink&catid={THISCATID}, but I got the attached errors (Q1 - Error.png) when I loaded homepage after changing the add listing url. Looks like it does not work.

9. Looks like 'membership info detailed in details.tpl page shows even to guest user, the only difference is for the guest user contact info is not shown - is that correct? But this is what I observed by testing it in loggedin and logged-out state.

10. I have created a custom page called 'Top Blogs' (www.blogectory.com/index.ph...tom=yes&TID=pages-topblogs) - I have specified form action = index.php?custom=yes&TID=pages-topblogs, but it still loads the home page. Any suggestions on what exact changes to be done?

14. I made changes as you specified using your attached files. In the tweak editor, I specified two icon names to gifize and updated. But I got the attached error (Q14 - Error.png)

Thanks much for any further help on the above and other questions.


Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 27, 2010 - 6:11 PM:

2. There's a category selector in the lower right, in the wrapper template that you can copy and use anywhere:
<form action="redirecttourl.php">
<p style="text-align: right;">
<select name="catid">
<option value="0">{LANG_HEADER_CHOOSECATEGORY}</option>
{SELECTOROPTIONS}
</select>
<button type="submit" class="gobutton">{LANG_GENERAL_GO} <img src="{IMAGESURL}/go.png" alt="" /></button>
</p>
</form>
(this is the multilingual version, consult your own template if english-only)

3. Go to Admin -> Members -> Integration and select wordpress.

4. This question doesn't make much sense to me. <IF {CATNUMSUB}> works on any level category, but perhaps you're using it for something I don't know about that happens to relate to top levels? What does "But the same, when controlled should not appear in non category or sub-category pages" mean?

For example - I tried to move mod/admin controls and sub-cat stats in side panel of displaylinks.tpl to footer in wrapper.tpl. After trying a lot, I got this condition <IF {CATNUMSUB} or {SWITCH_TOPICTYPES} and {CATLINKSHERE}> to be working for now. Is that correct? or is there any specific single condition parameter, which I can use?

Why would you make the display of moderator controls depend on whether a category has subcategories in it? The only test that should be applicable there is whether you're in a category or not and if you're an admin or not, which will be <IF {THISCATID} and {THISMEMBERISADMIN}>

5. Yes, enter the old and new URLs at admin -> settings -> SEO where it prompts for special page rewriting.

6. Email logins are always an option, so if you want to allow both username and email logins you need to uncheck that switch. The switch is to take away the username option, which leaves nothing else to display except the email. What would you like it to show?

7 & 7a. There's no option for that. I can write you a plugin to do both for $50 if you like.


8 and 12 to come soon.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 27, 2010 - 6:59 PM:

8. In the outgoing frameset top template, replace
a href="{DIRURL}"
with
a href="<?php
if ($_SERVER['HTTP_REFERER']) echo $_SERVER['HTTP_REFERER']; else echo '{DIRURL}';
?>"
and that'll do it if HTTP_REFERRER is enabled in the user's browser.

12. Confirmed and fixed. Upload the attached file to the base directory.


Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 27, 2010 - 7:09 PM:

blogectory wrote:
Hi Paul,

1. I tried using suggest.php?action=addlink&catid={THISCATID}, but I got the attached errors (Q1 - Error.png) when I loaded homepage after changing the add listing url. Looks like it does not work.


Did you click to send the bug report? I need the full information, a screenshot doesn't tell me what's going on. You got an error while loading the homepage, not while loading the suggest listing page? If so, it's impossible for it to be related and it would've been coincidental timing. Tested and I get no errors on either page while using that HTML link in the wrapper.

9. Looks like 'membership info detailed in details.tpl page shows even to guest user, the only difference is for the guest user contact info is not shown - is that correct? But this is what I observed by testing it in loggedin and logged-out state.

This is correct, that's how it's intended to be -- it's information about the submitter of the listing. If you want to only allow members to read it, encode that section of the template with <IF {THISMEMBERISREGISTERED}>...</IF>

10. I have created a custom page called 'Top Blogs' (www.blogectory.com/index.ph...tom=yes&TID=pages-topblogs) - I have specified form action = index.php?custom=yes&TID=pages-topblogs, but it still loads the home page. Any suggestions on what exact changes to be done?

In an HTML form of type GET (which is the default) then you can't pass parameters in the URL, only as hidden input fields -- submit the form to index.php and use <input type="hidden" name="custom" value="yes" /><input type="hidden" name="TID" value="pages-topblogs" /> in the form.

14. I made changes as you specified using your attached files. In the tweak editor, I specified two icon names to gifize and updated. But I got the attached error (Q14 - Error.png)

The attached should fix that error.

Attached Files:
blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
Posted Dec 28, 2010 - 10:45 PM:

Thanks Paul.

1. I tried again and got the similar/same error. This time, I have clicked on 'send the report' and I hope the report reached you. However I am also attaching all the errors I got in a text file here for your further perusal. (q1 -Error report.txt")

5. In admin >> settings >> seo, I used 'Rewrite Other Specific URLs:' section and entered old and new URL's but I get 'page not found' or 'no such content exists'. For example - in the 'make the normal fields url' I entered - www.blogectory.com/index.ph...om=yes&TID=pages-advertise and in 'work written as' section, i entered http://www.blogectory.com/advertise.html - but it does not work.

8. I tried replacing the code as you suggested in the template outgoingtop.tpl, but it re-loads the target page (clicked URL) instead of taking the user back to referred page on my directory.

10. I have tested your suggested and found it to be worked fine as I intended. Thanks

12. The new comments.php file which you attached in this thread fixes the issue. I have tested it and works fine. Thanks

14. I tested with new end.php and tested it. It is working fine now like a charm smiling face . I am able to convert the png to gif. The user should mention the old png files retaining the names and it works fine. Thanks Paul.

Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 29, 2010 - 1:13 AM:

1. The bug reports you sent indicate an attempt to get type totals for a category that has no id number. I don't know what scenario that would arise in -- unless you copied the type totals area onto the front page -- but upload the attached category.php to /classes/ to avoid errors in that scenario.


Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 29, 2010 - 1:16 AM:

5. You're not supposed to enter full URLs there. It gives the example "Make sitemap.php work rewritten as sitemap.html" so in your case index.php?custom=yes&TID=pages-advertise as advertise.html

I can see that would be confusing so I'll auto-transform full URLs in the future.
blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
#10 - Quote - Permalink
Posted Dec 29, 2010 - 8:00 AM:

5. I tried as you suggested, but it still does not work for me for some reason. Even after making changes, the same old dynamic URL exists without converting my specified static URL. I do not get any errors either.

14. Though gifizing worked for category folder images, I tried the same for rating stars. But it does not work for rating stars. Am I missing something?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#11 - Quote - Permalink
Posted Dec 30, 2010 - 2:07 AM:

5. Of course the old URL will exist. If you no longer wish to use it, replace your links to it with links to the new URL.

8. Since HTTP_REFERER doesn't work it will require more extensive changes. I can do it for $40.

14. The rating images partly come from the stylesheet, which isn't dynamically generated so you'll need to edit the stylesheet to specify .gif instead of .png at Admin -> Templates -> Manage Templates -> stylesheet will be at the top.
blogectory
Member

Usergroup: Member
Joined: Dec 22, 2010

Total Topics: 12
Total Comments: 23
#12 - Quote - Permalink
Posted Dec 30, 2010 - 3:43 AM:

Thanks Paul.

5. My bad! I manually changed the links and it is working fine. Thanks for pointing it out Paul.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.