Resource icon

[SurreyForum] XenKingDir: Link / Business Directory (Directory) 1.2.0.8

No permission to download
Is there a way of displaying the Field names under the two catagories - so the information entered doesn't all merge together ? or adding a line between each field ?

Can you send me a screen shot, so I can see what part you are talking about, thanks

Also the logo area stretches which distorts the image ? can this be altered to be a fixed size ?

Thanks

This can be done by editing this part in the sfdirectory_map_view template:
<img src="{$directorylisting.logo_image_url}" width="100%" height="200px" />

Can listings be fixed so they stay at the top of a category ? a bit like sticky posts

Sounds like an enhancement I could do, will add it to the to-do list
 
Thanks - I've managed most of it (see below) I added a line break to the template meaning that each item under the category (details on mine) was spaced out. Would still like to be able to keep select entries at the top of any list without it being a sticky somehow

Screen shot 2012-04-21 at 10.34.00.webp
 
Login to the ACP >> Application >> Display Directory Tree

And click "Rebuild counts"

It could be something to so with "un-approved" / deleted listings

I'm not quite sure yet (I can't see that stats for that page, but can see there are 5 threads, many have muliple categories, so it could be a bug for listings with multipile categories)
 
Login to the ACP >> Application >> Display Directory Tree

And click "Rebuild counts"

It could be something to so with "un-approved" / deleted listings

I'm not quite sure yet (I can't see that stats for that page, but can see there are 5 threads, many have muliple categories, so it could be a bug for listings with multipile categories)


Thanks :)
 
Recommendation: Is there an option where we can add a Facebook LIKE box (example: to like their Business Facebook Page not the forum page itself) is this possible?
 
Can we get this taken care of for Rating companies by end of next week? I am willing to pay you and hopefully others can donate too.

bit busy right now... (programming exams/studying), I'll be back on this full time in two weeks and start pumping out updates again
 
Recommendation: Is there an option where we can add a Facebook LIKE box (example: to like their Business Facebook Page not the forum page itself) is this possible?
every listing has the "tweet / g+ / recommend" buttons at the bottom of the page.... the like button for each business is a pretty good idea (and should be easy to do), I'll add it to the "to do list"
 
  • Like
Reactions: DRE
Counts are not working correctly for me either - I've deleted and recreated the forum that XenKING was using but having run a recount it hasn't correctly counted the "current" listings and root category totals. (Note: I've manually adjusted the counts for now for accuracy).

Also the field names for the custom fields aren't displaying for me, so I've manually adjusted the sfdirectory_map_view.css (added code below) and sfdirectory_map_view template to include them as follows:

Code:
.userinq{
    text-align: left;
    width: 200px;
    float: left;
    font-weight: bold;
}

Rich (BB code):
                    <xen:if is="{$displayCustomA}">
                        <xen:if is="{$directorylisting.customfielda1} OR {$directorylisting.customfielda2} OR {$directorylisting.customfielda3} OR {$directorylisting.customfielda4}">
                            <div class="fullleft">
                                <p class="muted" style="font-size: 0.9em;">{$customCategoryTitleA}</p>
                                <xen:if is="{$directorylisting.customfielda1}"><div class="userinq">custom field title 1: </div><div class="userin">{$directorylisting.customfielda1}</div></xen:if>
                                <xen:if is="{$directorylisting.customfielda2}"><div class="userinq">custom field title 2: </div><div class="userin">{$directorylisting.customfielda2}</div></xen:if>
                                <xen:if is="{$directorylisting.customfielda3}"><div class="userinq">custom field title 3: </div><div class="userin">{$directorylisting.customfielda3}</div></xen:if>
                                <xen:if is="{$directorylisting.customfielda4}"><div class="userinq">custom field title 4: </div><div class="userin">{$directorylisting.customfielda4}</div></xen:if>
                            </div>               
                        </xen:if>
                    </xen:if>

Just in case it's of any use to anyone.

Presumably the label data could be included in a future update?

Cheers,
Shaun :D
 
Counts are not working correctly for me either - I've deleted and recreated the forum that XenKING was using but having run a recount it hasn't correctly counted the "current" listings and root category totals. (Note: I've manually adjusted the counts for now for accuracy).

I think I've got to the bottom of this. When deleting the forum that is linked to the directory, the forum posts are deleted however the entries in sf_xenkingdir_thread_map are not (I've found the "old" links still in here).

Perhaps link the listings in this table with the forum ID that is set in the main options? If the two match, count and display in directory - if not, ignore?

Maybe also offer an option to "flush" this table and remove all entries that are not linked to the current associated forum?

Cheers,
Shaun :D
 
Is there a way to restrict the use of the directory listing to certain usergroups or can this be implemented?

Thanks!
 
Ive added around about 89 places under the directory takeaway, however it dosent seem to show them all within the directory because my maximum threads per page is set to 20. Is there anyway of just changing this for the directory so all entries show on one page?

This is a bug.... something I need to fix (the page navigation is missing at the bottom of the page) << Will fix next build

Hi Guys,

So I was in a bit hurry and needed this fixed. So for a quick fix to the pagination not displaying bug, you can do this:

1. Open the file ThreadMap.php located in the folder XenKingDir/Model

2. Find the following line. It's on Line 488, inside the function countThreadForThisDir

PHP:
return $count['C'];

3. Replace this line with the line below, that is remove the array index.

PHP:
return $count;

And you should have pagination! :)
 
Sorry ppl, just about to finish up with work, and I should be on this full time next week (I will try to bang out small builds every 1-2 weeks)

I am actually tired of posting the link to my addon on this thread, so tenants I would highly recommend you do the usergroup permission thing! :p

will do ;)

I'll look into the count issue Clickfinity, sounds like it should be a simple fix
 
Can I mention something else if you're going to update it - the logo/image box on the right hand side is resizing the submitted image to fit the dimensions of the box, which stretches a lot of images out of proportion.

Would it be possible to simply have the image at its actual size, but centered within the frame on the right? Or even better still, resize the image to fit within specific maximum dimenstions?

An example of how it looks at the moment: http://www.xentastic.co.uk/reviews/gearhead-central.15/

And the actual logo: http://gearheadcentral.com/forum/logo.png

Cheers,
Shaun :D
 
Hi,

How do I get the listings to always display in columns? Every topic gets displayed in the main column on the main page, but sometimes there are two of them on the same line. Is there a way to make them get listed one below the other? Same on the child directory.

Thanks.
 
Hi,

How do I get the listings to always display in columns? Every topic gets displayed in the main column on the main page, but sometimes there are two of them on the same line. Is there a way to make them get listed one below the other? Same on the child directory.

Thanks.


The category list is floated, so find this style in the template: sfdirectory.css:

Code:
.dir_item_float {
    float: left;
    margin: 2px;
}
and remove the float, so it looks like this:
Code:
.dir_item_float {
    margin: 2px;
}
it might look a bit strange though, you'll probably want to centre each category list item,

so something like this might be useful:
Code:
.dir_item_float {
    margin: 0 auto;
    width: 50%;
}

and add relevant padding / margins for you scenario ;)
 
Top Bottom