[CDB] PhpBB Directory

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader

Re: [DEV] PhpBB Directory

Post by ErnadoO »

I don't think so, url is just an information about destination
Former Administrator && MOD team leader on phpbb-fr.com
NextClick
Registered User
Posts: 36
Joined: Sun Apr 13, 2014 9:13 am

Re: [DEV] PhpBB Directory

Post by NextClick »

Users clicking to this information :)
10420044_10152257227852307_4764430877577523979_n.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
noth
Registered User
Posts: 2528
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey

Re: [DEV] PhpBB Directory

Post by noth »

this looks like a great addition to 3.1

just 1 question, do the websites added have to be phpBB forums? the title is "phpBB Directory" so that just makes me wonder. that's all 8-)
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader

Re: [DEV] PhpBB Directory

Post by ErnadoO »

Hello

You can add any kind of website with or without phpBB forums :)

In fact, i called the original mod because it's a Directory (mod) FOR phpBB; but it's true, it's not very clear
Former Administrator && MOD team leader on phpbb-fr.com
User avatar
KlausiMaus
Registered User
Posts: 193
Joined: Sat Nov 15, 2014 4:55 pm

Re: [DEV] PhpBB Directory

Post by KlausiMaus »

Hi, need some help!
s soon I activate this extension I get an empty page when I call my board:!:
Klaus (http://forum.kuhnert.ch/) :: Keep it simple, stupid :!:
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader

Re: [DEV] PhpBB Directory

Post by ErnadoO »

Hi

I have no ideas :/

Have you enable extension after downloads it or have you modifying anything before?

And, just in case, try to copy language/en to language/de/ (and language/de_x_sie) and enable debug in your config.php file (may be an error will be displayed :cry: )
Former Administrator && MOD team leader on phpbb-fr.com
JörgCH
Registered User
Posts: 66
Joined: Tue Nov 25, 2014 10:07 pm

Re: [DEV] PhpBB Directory

Post by JörgCH »

I convert my old Forum the the newsr version ... and no i try to install the last version of you mod.
If i open the directory i see my catergories , but if i choose someone i get this error:
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC LIMIT 10' at line 3 [1064]

SQL

SELECT l.link_id FROM (phpbb_directory_links l) LEFT JOIN phpbb_users u ON (l.link_user_id = u.user_id) WHERE l.link_cat = 1 AND l.link_active = 1 ORDER BY ASC LIMIT 10

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/mysql_base.php
LINE: 45
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 261
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 321
CALL: phpbb\db\driver\driver->sql_query_limit()

FILE: [ROOT]/ext/ernadoo/phpbbdirectory/controller/categories.php
LINE: 283
CALL: phpbb\db\driver\factory->sql_query_limit()

FILE: (not given by php)
LINE: (not given by php)
CALL: ernadoo\phpbbdirectory\controller\categories->view()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 117
CALL: call_user_func_array()

FILE: [ROOT]/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php
LINE: 61
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 33
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader

Re: [DEV] PhpBB Directory

Post by ErnadoO »

Hello

Are you saying that phpBB directory MOD was on your old phpbb 3.0.x forum?

Anyway, in controller/categories.php, after

Code: Select all

$default_sort_dir    = (string) substr($this->config['dir_default_order'], 2); 
add

Code: Select all

echo $this->config['dir_default_order']. ' => ' . $default_sort_key; 
to see which is default order.

After

Code: Select all

$link_list = array();
add

Code: Select all

echo '<br />'.$sort_key; 
and enable debug in your config.php file please.

Then go back to a category and tell me what is siplayded on top.
Former Administrator && MOD team leader on phpbb-fr.com
User avatar
KlausiMaus
Registered User
Posts: 193
Joined: Sat Nov 15, 2014 4:55 pm

Re: [DEV] PhpBB Directory

Post by KlausiMaus »

ErnadoO wrote:Hi

I have no ideas :/

Have you enable extension after downloads it or have you modifying anything before?

And, just in case, try to copy language/en to language/de/ (and language/de_x_sie) and enable debug in your config.php file (may be an error will be displayed :cry: )
Sorry, no chance nothing to see, event debug mode enabled!
Klaus (http://forum.kuhnert.ch/) :: Keep it simple, stupid :!:
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader

Re: [DEV] PhpBB Directory

Post by ErnadoO »

I was on your board there are few minutes ago, when my extension was enabled and i hadn't any empty page :?

Just for test: disables all other extensions then enable just mine
Former Administrator && MOD team leader on phpbb-fr.com
User avatar
KlausiMaus
Registered User
Posts: 193
Joined: Sat Nov 15, 2014 4:55 pm

Re: [DEV] PhpBB Directory

Post by KlausiMaus »

ErnadoO wrote:I was on your board there are few minutes ago, when my extension was enabled and i hadn't any empty page :?

Just for test: disables all other extensions then enable just mine
Your extension is not enabled otherwise you would see nothing.
I could not enable for longer, since this an active board!
Later I try with disabling other extensions, hope I find the time.
Klaus (http://forum.kuhnert.ch/) :: Keep it simple, stupid :!:
User avatar
Leafy
Registered User
Posts: 31
Joined: Wed Dec 11, 2013 9:37 pm

Re: [DEV] PhpBB Directory

Post by Leafy »

Any news on this extension? A links directory would be the perfect addition for my latest project :)
User avatar
ErnadoO
Registered User
Posts: 337
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader

Re: [DEV] PhpBB Directory

Post by ErnadoO »

Hello

This extension is ready, i finished development for several weeks, i'm just waiting for to see if somone reports bugs before submit to extensions database ;)
Former Administrator && MOD team leader on phpbb-fr.com
User avatar
Leafy
Registered User
Posts: 31
Joined: Wed Dec 11, 2013 9:37 pm

Re: [DEV] PhpBB Directory

Post by Leafy »

Cool...have just installed on my test site to have a play around with it.

Only error I can see so far is a possible conflict with the Advanced BBcode Box extension - on the new website page the bbcode buttons look fine, but on the comments pop-up window it displays 2 copies of all the bbcodes - the default bbcode buttons and the abbcode ones.
User avatar
Leafy
Registered User
Posts: 31
Joined: Wed Dec 11, 2013 9:37 pm

Re: [DEV] PhpBB Directory

Post by Leafy »

...oh & the search results page has a link to "RETURN_TO_SEARCH_ADV" which I'm guessing should say something slightly less technical ;-)

...and is there a way to add a link to comments on the search results page? Currently all I can see is the number of comments a link has...but no ability to actually view them.

Return to “Extensions in Development”