General discussion
About PAGES into backend

Hello

I start using your forum in my project and want to make some upgrade for my site based on your forum.

So i make a page with some title. also there is nice place where to post SEO friendly link, BUT I cant access my site with this URL. so basically its showing the the page is access with link mysite.com/page/my-own-made-page

But only way to pen page is only with this kind of link mysite.com/index.php?u=/page/6/my-own-made-page

So i can't use this link because it's not working smile

It would be nice if i can access site with the given adders mysite.com/page/my-own-made-page..

I don't know maybe i do something wrong.

Also it would be really COOL if we have possibility to use PHP when creating sites. Then i don't need to make plugin only for one page.

Thanks...

Hello I start using your forum in my project and want to make some upgrade for my site based on your forum. So i make a page with some title. also there is nice place where to post SEO friendly link, BUT I cant access my site with this URL. so basically its showing the the page is access with link mysite.com/page/my-own-made-page But only way to pen page is only with this kind of link mysite.com/index.php?u=/page/6/my-own-made-page So i can't use this link because it's not working :) It would be nice if i can access site with the given adders mysite.com/page/my-own-made-page.. I don't know maybe i do something wrong. Also it would be really COOL if we have possibility to use PHP when creating sites. Then i don't need to make plugin only for one page. Thanks...

Hi,

Have you followed the configuration for friendly urles as given here:
https://codoforum.com/documentation/configuration

Allowing PHP in the templates may have security issues.

Hi, Have you followed the configuration for friendly urles as given here: https://codoforum.com/documentation/configuration Allowing PHP in the templates may have security issues.

About PHP i believe you and understand.
About friendly URLs gonna check when have i a little bit more time. Right know creating some plugins for the forum... smile

About PHP i believe you and understand. About friendly URLs gonna check when have i a little bit more time. Right know creating some plugins for the forum... ;)

Not to creating a new. Wanna say that documentation has some problems with QUERY BUILDER insturction

when executing this code from documentation

$users = DB::table(PREFIX.'users')->get();

foreach ($users as $user)
{
    var_dump($user->name);
}

Result is only

Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76
NULL
Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76
NULL
Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76
NULL
Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76
NULL

I can get out data using another methods, but i think that it is mention into documentation, i believe it's better if your examples work.

Maybe i forgot to add something but there is write that this code should get out all data from table.

Not to creating a new. Wanna say that documentation has some problems with QUERY BUILDER insturction when executing this code from documentation ```` $users = DB::table(PREFIX.'users')->get(); foreach ($users as $user) { var_dump($user->name); } ```` Result is only ```` Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76 NULL Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76 NULL Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76 NULL Notice: Trying to get property of non-object in /var/www/html/sites/default/plugins/userlist/userlist.php on line 76 NULL ```` I can get out data using another methods, but i think that it is mention into documentation, i believe it's better if your examples work. Maybe i forgot to add something but there is write that this code should get out all data from table.

YES BABY, YES BABY smile

Sory....
Simple check out the problem about the friendly URLs...

POST here, maybe it's helps others.

My server configuration is OS: UBUNTU with APACHE not ngnix

  • Rename generated file htaccess.txt to .htaccess in your web directory

  • Check if your server has enabled mod_rewrite

    • if you are on your console write this command
sudo a2enmod rewrite && sudo service apache2 restart

it will enable your mod_rewrite and restart your apache server

It probably work on most of all Ubuntu/Debian OS

If you are using other OS simply google how to enable mod_rewrite.

EDIT:
friendly URLs is working fine, but problems with page who you are creating...
So as before, when create a new site, there is possible to make friendly URLs and then it's looks like site.com/page/your-generated-page as it shows in example. But still this link is not working... It's only works when you add a mystery page ID and then generated page links who work is site.com/page/id/your-generated-page.
Still no use for field to add friendly URLs if it still using his own method to recognize the page...
Suggestion to remove this ID.

YES BABY, YES BABY :D Sory.... Simple check out the problem about the friendly URLs... POST here, maybe it's helps others. My server configuration is OS: UBUNTU with APACHE **not ngnix** - Rename generated file htaccess.txt to .htaccess in your web directory - Check if your server has enabled mod_rewrite - if you are on your console write this command ```` sudo a2enmod rewrite && sudo service apache2 restart ```` it will enable your mod_rewrite and restart your apache server It probably work on most of all Ubuntu/Debian OS If you are using other OS simply google how to enable mod_rewrite. EDIT: friendly URLs is working fine, but problems with page who you are creating... So as before, when create a new site, there is possible to make friendly URLs and then it's looks like site.com/page/your-generated-page as it shows in example. But still this link is not working... It's only works when you add a mystery page ID and then generated page links who work is site.com/page/id/your-generated-page. Still no use for field to add friendly URLs if it still using his own method to recognize the page... Suggestion to remove this ID.
edited Apr 15 '15 at 9:14 pm
190
4
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft