How to parse brackets [] in URLs in phpbb - phpbb

Is it even possible to parse a link (url) that has square brackets in it since phpbb uses these for there BBcode?
Im not talking about the BBcode [url]www.google.com[/url] but just links like www.google.com/foo[test]end
If it is possible in phpbb where and how would I go about doing this? (which file)
I found an example for drupal, which I might be able to use there regex, but I still don't know which file and what to edit... http://drupal.org/node/190466

Have a look at JIRA for phpbb3 here

Related

Rename wp-login.php with default permalink

For better security, I would like to rename the login url of my blog to something other than /wp-login.php. I found a plugin that would do the Job
http://wordpress.org/plugins/rename-wp-login/
But the problem is that it works only with non-default permalinks, which is a problem for me, because I use unicode names for my topics, which could make the link very long and messy with percent encoding. I wouldn't want to translate every link name to english... that's tedious!
Is there a way to hide wp-login.php and wp-admin from hackers without having to change the permalink form?
Thank you.
You can now use Rename wp-login.php plugin with any kind of permalink structure! ;)
I can suggest one great plugin that have plenty useful things in it and also what you want. And it uses other technique, that is not dependent on permalinks (in two words - it uses htaccess for all the magic).
It's called Better WP Security.
Here is the link
Why don't you use a permalink structure like this?
/%post_id%/
From long time i was tackiling with one issue.
some one trying to access my website using random password.
i got report of ip addresss, who hits wp-login.php files.
beside that i found .sd0 file in my root folder.
that file filled with some encrypted code.
I removed this and change my wp-login.php to wp-login-xx.php
After changed this file you required to change below file also to get proper execution.
search for wp-login.php and replace this with your assign name (wp-login-xx.php)
wp-login.php
wp-includes/general-template.php
wp-includes/pluggable.php
for better security also update wordpress with latest one.

Sharing a link (share?url=) with spaces?

Trying to add a sharing function to my site, but GPlus seems to have trouble sharing url's with spaces in them.
Even escaped they dont seem to work.
eg;
https://plus.google.com/share?url=http://www.google.com/%23test%20test
It only seems to recognize upto before the %20.
Any ideas? Is this a bug? Am I doing something wrong?
The site is rather ajaxy, and in the history tokens would be a pain to need to use non-standard escaping of characters just for google plus.
I don't think that this is a bug with Google+ but rather its likely intentional because those URLs would need to be double URL encoded because one URL is sharing a second URL, thus your shared URL should be http%3A%2F%2Fwww.google.com%2F%2523test%2Btest
This won't work to create a preview in the share snippet but the URL is correct when it is shared.
All said, you shouldn't use spaces in your URLs because they are considered unsafe, see RFC 1738. You should change your app's URL structure.

removing links from posts in wordpress

I have few blogs for some clients. I need to remove links to one of my clients in all posts. Just to be clear i need to remove links and my keyword should stay like it is.
I found this plugin http://wordpress.org/plugins/automatically-remove-links-from-posts/installation/
But this one remove all links.
I need to remove all links just for one client, and links for other clients should stay unchanged.
Does anyone know about some good plugin for this solution?
Is there any way using SQL statements? I need solution to recognize link no meter what is keyword and to remove href text leaving keyword unchanged.
Thanks in advance!
You could try using regex .. Create a regex pattern and use in this plugin .This will search and replace them with ''
This is the plugin
Try and let know

Avoid [?open] for URL with parameters?

We have web application (built without xPages). We have really annoying problem for years with our URLs. Domino requires to add ?open for pages with parameters.
domain/page?open&param1=asd&param2=qwe
Is there a way to avoid [?open/?opendocument] in URL with parameters?
In few words, is it possible to get this URL working?
http://www.e-conomic.com/accountingsoftware?parameter=123
We do not want ?open in URL:
http://www.e-conomic.com/accountingsoftware?open&parameter=123
AFAIK it is possible, using redirections in the website setting, in the Domino Directory. You may have to do some experimenting there, I don't know which type you'd exactly have to use.
I did not find any solution how to achieve that. However I found that it could be handled by DSAPI and I created new topic about that.
how to manage url by DSAPI

sitemap on a website only shows one link

I have a little issue concerning the sitemap of a website.
The website is : http://parmemarin.com.
If I go on http://www.xml-sitemaps.com/ and try to generate a sitemap for my website I end up with only one link in my sitemap which is _inc/conditions.php
There is no index.php or other of my links (index.php?page=...)
Can someone help me on this one ?
Thanks
Well, that could be a problem with xml-sitemaps.com, it could be a problem with your site, or it could be a combination of both. I don't know that service, so I can't tell how it really works and what it does.
Skimming through your markup, I noticed that you linked to some URLs without encoding the ampersand. & (if used for parameters) should be & if you link it in HTML.
I wonder: Why don't you build your sitemap yourself? You are the only one who knows for sure which pages exist on your site. Collect all your URLs and put them in a file, like http://www.sitemaps.org/ describes.
thanks, for your answer.
I had totally forgot to delete the meta : no index, no follow ... That clearly didn't helped :)