Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#26 2012-10-03 11:10:25

nancyfromafrica
Member
From: Johannesburg
Registered: 2012-09-05
Posts: 37

Re: [Mod] FluxRewrite Essentials - 2.0.0

the documentation helped me install it without any hassles


i love surfing i have a small iphone review forum

Offline

#27 2012-10-06 07:23:03

hydn
Member
Registered: 2012-10-06
Posts: 22

Re: [Mod] FluxRewrite Essentials - 2.0.0

Does this mod work with FluxBB 1.5?

Offline

#28 2012-10-07 09:41:49

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 717
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

It should, but you might have to change some instructions. Let me know if you have problems installing it, I'll be glad to help wink


Please excuse my bad english, I'm french tongue.

Offline

#29 2012-10-07 14:57:13

BuzzY
Member
Registered: 2011-12-12
Posts: 28

Re: [Mod] FluxRewrite Essentials - 2.0.0

im already using it on 1.5 and working fine.

Offline

#30 2012-11-07 22:48:46

Kira
Member
From: Zaragoza, España
Registered: 2011-07-09
Posts: 19

Re: [Mod] FluxRewrite Essentials - 2.0.0

Hi,

It doesn't work with nginx, help me please sad

Offline

#31 2012-11-08 14:36:39

fdereu
Member
From: Foix, France
Registered: 2012-08-26
Posts: 10
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

BuzzY wrote:

im already using it on 1.5 and working fine.


Hi Buzzy, may I ask you which other mods are running with both your installed FBB1.5 and FluxRewrite2.0.0 on your server ?

So I'd'like to install FluxReWrite avoiding misconfiguration issues as well as time wasting.

I very thank you of answering.

Fred
(french)

Offline

#32 2012-11-09 10:32:44

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 717
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

Salut fred!

There should be no problem at all installing this mod on your forum. If you have a problem, feel free to post here or fluxbb.fr wink.


Please excuse my bad english, I'm french tongue.

Offline

#33 2012-11-09 12:16:31

fdereu
Member
From: Foix, France
Registered: 2012-08-26
Posts: 10
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

adaur wrote:

Salut fred!

There should be no problem at all installing this mod on your forum. If you have a problem, feel free to post here or fluxbb.fr wink.

Bonjour Adaur,

So kind of you !

OK, I'm going to try it out today on my "tests" subdomain, then report back here any result.

thanks,
Un grand merci.

Offline

#34 2012-11-10 00:19:36

fdereu
Member
From: Foix, France
Registered: 2012-08-26
Posts: 10
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

Done, I had'nt got any problem to make it work on FBB1.50 + APMS 3.0.2 + Jquery-Captcha 1.1.1 + ezbbc-toolbar 1.5.1 + Mod-installer.

A really usefull Mod with a nice and convenient sitemap script.

thanks a lot to all dev teams of all mods

Fred

Offline

#35 2013-05-05 18:58:05

benjawi
Member
From: Plymouth, England
Registered: 2013-03-30
Posts: 56
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

Just an idea, but it wouldn't it be better if it worked like so:

Instead of example.com/viewforum.php?id=2
It showed as example.com/forum-name

Then when you click on a topic it would show example.com/forum-name/topic-1-example-topic.html
Instead of example.com/topic-1-example-topic.html

Offline

#36 2013-05-07 19:21:08

cyberman
Member
From: Germany
Registered: 2010-01-11
Posts: 236
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

I dont know this mod, but I'm using friedly url mod wink - it does the same and has some options to modify url scheme like in your example

http://fluxbb.org/resources/mods/friendly-url/

Offline

#37 2013-05-24 13:22:44

H4T
Member
From: France
Registered: 2013-05-19
Posts: 10
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

Hello adaur! (;
As I have done on Wareziens.net, here's the rewrite rules to run this mod with Nginx :

location /
{
	if ($http_host ~ "^domain.tld$")
	{
		rewrite ^/(.*) http://www.domain.tld/$1;
	}

	rewrite ^/forum-([0-9]+.*)-page-([0-9]+).html$ /viewforum.php?id=$1&p=$2 last;
	rewrite ^/topic-([0-9]+.*)-page-([0-9]*).html$ /viewtopic.php?id=$1&p=$2 last;
	rewrite ^/topic-([0-9]+)(.*)-new-messages.html /viewtopic.php?id=$1&action=new last;
	rewrite ^/topic-([0-9]+.*).html#p([0-9]+)$ /viewtopic.php?pid=$2 last;
}

Last edited by H4T (2013-05-24 14:28:51)


Please excuse my bad English, I'm French ! tongue
Wareziens.net's Administrator with adaur. Nginx. (:

Offline

#38 2013-10-09 15:23:44

LakeXeno
Member
From: La Crosse, WI, USA
Registered: 2013-07-05
Posts: 65
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

I'm now getting this error. I installed this mod yesterday and noticing the error today so not entirely sure if the two are inter-twined.

Warning: Invalid argument supplied for foreach() in /xxx/index.php on line 96:

foreach ($new_topics[$cur_forum['fid']] as $check_topic_id => $check_last_post)


The Dragon 13 Society Become a Dragon today and take your world back.

Offline

#39 2013-10-24 16:29:41

pxpl
New member
From: Germany
Registered: 2013-10-24
Posts: 1

Re: [Mod] FluxRewrite Essentials - 2.0.0

Hi to all,
first I have to say that I'm quite new to fluxbb, but I like it very much !!

I have now installed FluxRewrite Essentials and I think there is an error in rewriting the 'last post' links on the right column in index.php.
readme.txt:

if ($cur_forum['last_post'] != '')
{
	$num_pages_topic = ceil(($cur_forum['num_replies'] + 1) / $pun_user['disp_posts']);
	$last_post = '<a href="'.fluxrewrite("topic-", $cur_forum['last_topic_id'], $cur_forum['last_topic'], $num_pages_topic, false, $cur_forum['last_post_id']).'">'.format_time($cur_forum['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_forum['last_poster']).'</span>';
}

So the number of pages is a division of the number of the forum posts (replies) and the number of the 'posts per page'. In my opinion this should be a division of the number of the topic posts instead of the forum posts?!

I get links with 'page-14.html' for topics with only one page.

In addition I have to say that I imported existing topics and posts from another forum system, but I don't think that I made an error with that.

Could anyone who's using this mod check out if the 'last post' links on the index page show the right number of pages? So I would get to know if I made an error.
That would be great, thank you very much!

[EDIT: I have added the number of the topics posts to the database query and changed the href for the 'last post' link. If there's anyone who has the same problem you can contact me.]

Last edited by pxpl (2013-10-24 20:48:44)

Offline

#40 2014-07-12 06:09:18

palox
Member
From: central europe
Registered: 2010-12-27
Posts: 7

Re: [Mod] FluxRewrite Essentials - 2.0.0

Hi,
Would it be possible to update FluxRewrite to make it work on 1.5.6? Patcher reports only 2 errors:
Missing strings info
include/functions.php    Missing string #8
post.php    Missing string #73

Or what can i modify manually by myself?

Thank you very much!

Offline

#41 2014-07-12 09:32:17

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 717
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

Hi,

You can use the Patcher with the latest version: https://fluxbb.org/resources/mods/fluxr … ses/2.0.2/


Please excuse my bad english, I'm french tongue.

Offline

#42 2014-07-13 11:11:03

palox
Member
From: central europe
Registered: 2010-12-27
Posts: 7

Re: [Mod] FluxRewrite Essentials - 2.0.0

Thanks for prompt action, but I have yet another issue.
There are special characters in my language, so when i use ľščťžýáíéúäňô for topic subject, I will get just aieuao in url from that. As you can see, some of there characters are not transformed, but disappeared. From example word "šport" i get "port" which means something different.
Can anything be done about this?

Offline

#43 2014-07-13 11:29:39

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,877
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

You'll probably have to extend these two lines.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#44 2014-07-13 11:43:51

palox
Member
From: central europe
Registered: 2010-12-27
Posts: 7

Re: [Mod] FluxRewrite Essentials - 2.0.0

Ive already tried this:

$a = 'ľščťžýáíéúäňôÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ@()/[]|\'&';
$b = 'lsctzyaieuanoAAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn---------';

but getting same result as before.

Offline

#45 2014-07-13 13:54:00

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 635
Website

Offline

#46 2014-07-13 14:45:34

palox
Member
From: central europe
Registered: 2010-12-27
Posts: 7

Re: [Mod] FluxRewrite Essentials - 2.0.0

ok, one mystery solved, i was editing wrong fluxrewrite.php file. neutral

but anyway, still from "ľščťžýáíéúäňô" getting "nnnnnyaieuano".

can it be some character encoding or language setting problem? im not a programmer, i dont know where to look.

Offline

#47 2014-07-15 18:25:48

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 717
Website

Re: [Mod] FluxRewrite Essentials - 2.0.0

can it be some character encoding or language setting problem?

Yes, make sure you save your file as UTF-8 without BOM.


Please excuse my bad english, I'm french tongue.

Offline

Board footer

Powered by FluxBB 1.5.7