• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

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

Status
Not open for further replies.
You found a bug in the template: sfcreate_listing,

change

<xen:if is="{$allowTelephones}">

to

<xen:if is="{$allowTelephone}">

I'll fix in next version (
 
I do have a few questions, please:

is it possible to add Links and company-data as Admin ? If doing so, does it show the Admin-avatar as creator of this Link-entry?
is it possible to just create company-entries as Admin, but not showing the Admin-avatar?

I am actually thinking of entering a couple hundred companies as Admin.
Then the individual companies can "claim their Link" and are able to add one or more threads or forum-posts onto their company-listing.
 
Is there a way to add the number of ads (2) beside the category title? If you have lots of cats, it had to see any links. :)

Not currenty, it's on my to do list, see number 18 : http://xenforo.com/community/thread...siness-directory-directory.20706/#post-264529

I do have a few questions, please:
is it possible to add Links and company-data as Admin ? If doing so, does it show the Admin-avatar as creator of this Link-entry?

Yes, you can do this as Admin (Or a Mod), but yes your Admin avatar will be shown
I'm actually going to do this myself for quite a few places, so I've just added it to my to do list (number 22)
 
Would there be a way to have a redirection link with the directory listings so we can use it for tracking the links directed from other locations like say a banner?
 
Ok, on my test site everything works fine (1.1b3), but on my live site (which the test site is mirrored from and also 1.1b3) I get the following error.

Error Info
ErrorException: Undefined index: forum - library/XenKingDir/ControllerPublic/Forum.php:38
Generated By: chris02rex, 6 minutes ago

Stack Trace

#0 /var/www/localhost/htdocs/library/XenKingDir/ControllerPublic/Forum.php(38): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/localh...', 38, Array) #1 /var/www/localhost/htdocs/library/XenForo/FrontController.php(310): XenKingDir_ControllerPublic_Forum->actionIndex() #2 /var/www/localhost/htdocs/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #3 /var/www/localhost/htdocs/index.php(13): XenForo_FrontController->run() #4 {main}

Request State

array(3) { ["url"] => string(38) "http://mnsubaru.com/forums/-/index.rss" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }

everything looks to work fine, but I keep getting the error in the ACP. I have tried deleting and recreating the node and uninstalling and reinstalling the add on. Same error.

Thanks
Russ
 
I have a problem

I have created several forums deep. Eg

Directory / State / Service / Metro

Now, the person posted their listing in "Service" and I want to move it to "Metro" but I can't do it. Is there a way to fix this?

Thanks.
 
I have a problem

I have created several forums deep. Eg

Directory / State / Service / Metro

Now, the person posted their listing in "Service" and I want to move it to "Metro" but I can't do it. Is there a way to fix this?

Thanks.

Yes, just log in as Admin/Mod, and select the Edit button on the review page (the edit button near the location information)
You can change the dir category with the drop down box
 
#0 /var/www/localhost/htdocs/library/XenKingDir/ControllerPublic/Forum.php(38): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/localh...', 38, Array) #1 /var/www/localhost/htdocs/library/XenForo/FrontController.php(310): XenKingDir_ControllerPublic_Forum->actionIndex() #2 /var/www/localhost/htdocs/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #3 /var/www/localhost/htdocs/index.php(13): XenForo_FrontController->run() #4 {main}

I'll look into this tonight, but right now, I can't see why this would be
What other plug-ins do you have on your forum (If I can reproduce it, it would be much easier to fix)
 
I'll look into this tonight, but right now, I can't see why this would be
What other plug-ins do you have on your forum (If I can reproduce it, it would be much easier to fix)
Here is my list. The only things I don't have on my test site and Xenutiles and tapatalk. I can also try and install those on my test site to see if I can get the same error (and/or remove them from the live site to see if it goes away).

Online Status 1.1
Separate Sticky and Normal Threads 1.0
Tapatalk 1.1.1
XenFans.com - Extra Tabs 1.0.3
XenFarjad Donations v1.0.5
[8wayRun.Com] XenUtiles (Tools) 1.1.3
[bd] Widget Framework 1.0.8
[SurreyForum] XenKingDir - Business / Links Directory 1.0.8
 
Here is my list. The only things I don't have on my test site and Xenutiles and tapatalk. I can also try and install those on my test site to see if I can get the same error (and/or remove them from the live site to see if it goes away).

Any luck? Can you let me know what the URL of the page is when you see this error, for example:

/admin.php?something/somethingelse
(The case of the letters is important)

The "XenForo_RouteMatch" is giving a clue here...

- Also, have you made a Directory Forum and updated the Directory options to point to this forum before changing the nodes?

Either:
i) The directory has no forum to point to
ii) There is an issue with the way the routes have been inserted (an incomplete install?)
iii) Another plug-in is competing with the route
iv) .htaccess is replacing something in the URL so the route can not match
v) something else

If I could see a list of your routes (screen shot them, they are in the ACP, but you will need to turn the dev options on), then this may shed more light.
At this point, since I haven't seen this on other systems, I'm suspecting an incomplete install which is not cleaning up properly when uninstalling, possibly resulting in duplicate entries / non-valid entries for routes. (I'm guessing, since I don't have a DB handy)
 
I'm getting this error on my backend




Error Info​
ErrorException: Undefined index: forum - library/XenKingDir/ControllerPublic/Forum.php:38
Generated By: Chet Steadman, 1 minute ago

Stack Trace​

#0 /home/mike/public_html/library/XenKingDir/ControllerPublic/Forum.php(38): XenForo_Application::handlePhpError() #1 /home/mike/public_html/library/EWRporta/ControllerPublic/Forum.php(9): XenKingDir_ControllerPublic_Forum->actionIndex() #2 /home/mike/public_html/library/Dark/TaigaChat/ControllerPublic/Index.php(8): EWRporta_ControllerPublic_Forum->actionIndex() #3 /home/mike/public_html/library/XenForo/FrontController.php(310): Dark_TaigaChat_ControllerPublic_Index->actionIndex(Object(XenForo_RouteMatch)) #4 /home/mike/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch() #5 /home/mike/public_html/index.php(13): XenForo_FrontController->run() #6 {main}

Request State​

array(3) { ["url"] => string(36) "http://oldrow.net/forums/-/index.rss" ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
 
Okay, I've seen the issue.

Added the fix to the file:
\xenforo\library\XenKingDir\ControllerPublic\Forum.php

I cant add a new version (since I'm in the middle of a few changes, but you can copy this file over your existing XenKingDir\ControllerPublic\Forum.php

...Please make sure you copy over the XenKingDir Forum.php file and not the XenForo file

I've added the fixed file here, so people can fix this immediately, but this fix will also be in the next version (by the end of this weekend)
 

Attachments

Looks like you got it fixed. I just tried to turn off the tapatalk and xenutils on my live site and I was still getting the errors in the log. I never seen and issues on the web side of things, just the errors in the ACP log. The error also just kinda appeared. After looking at the time stamps, there was no reason for it to happen. It wasn't like someone was hitting the directory (either adding or looking), it was as simple as turning the add on, on, then waiting 2-3 minutes and there would be a error in the log.

So I can further mess around if you want, or if you think you have a solid fix on it we can just run with it.

Thanks again for a outstanding mod. A donation will be on the way once my adsense check comes in.

Russ
 
Yeah, that should fix it.

Spiders would have made this error occur, which is why you wouldnt have seen it locally (although, it's not the spiders fault, it was my fault for carelessly assuming all forums populate params['forum']).
It's not something I ran into while testing, but I'll keep an eye on the error log from now on (just because I haven't seen an error, it doesn't mean it doesn't exits ;) )

The fix should be fairly solid, I've added that file to my own forum.
 
Also, why is there a blank area under Louisiana?

It's as designed, what you are seeing is not 3 columns, but floated divs. So since the Louisiana Div is slightly bigger than the next two divs (Missisippi and Missouri), the next div (Oklahoma) fits as far left as it can...

I'll split the category_list out into 3 arrays next version and put each into their own column....
I've just started to fix this, I could add the files / template changes here now if you/anybody needs this asap, otherwise it will be fixed by the end of this weekend (Sunday night/ early Monday morning)
 
Status
Not open for further replies.
Back
Top Bottom