#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Exclude page URLs I...
 
Share:
Notifications
Clear all

[Closed] Exclude page URLs Issue  

    Last Post
RSS

Muhammad Umar Farooq
Posts: 28
 Muhammad Umar Farooq
Topic starter
January 31, 2019 10:11 pm
(@pkheart)
Eminent Member
Joined: 2 years ago

I am facing an issue with WPforo, I enabled "Turn Wordpress to WPforo" , in Exclude page URLs section I entered desired urls to be accessed and they are working fine. But there is an issue as i am using "Better Messages" for Chatting and it uses different slug for every new message (?new message, ?bulk message, ?thread_id=1,?thread_id=2 .... and so on)

how to give access all addresses under this address( https://discuss.pkheart.com/vu/chat/)

Slug.PNG

https://www.whichquery.com

Topic Tags
slug
22 Replies
2 Replies
Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
February 14, 2019 12:37 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Posted by: pkheart

I am facing an issue with WPforo, I enabled "Turn Wordpress to WPforo" , in Exclude page URLs section I entered desired urls to be accessed and they are working fine. But there is an issue as i am using "Better Messages" for Chatting and it uses different slug for every new message (?new message, ?bulk message, ?thread_id=1,?thread_id=2 .... and so on)

how to give access all addresses under this address( https://discuss.pkheart.com/vu/chat/)

Slug.PNG

Can anybody help me that how to give access all addresses under a page (  https://discuss.pkheart.com/vu/chat/ ) 

https://www.whichquery.com

CrisW
 CrisW
(@crisw)
Joined: 2 years ago

Reputable Member
Posts: 281
February 16, 2019 6:27 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Muhammad Umar Farooq
Posted by: pkheart
Posted by: pkheart

I am facing an issue with WPforo, I enabled "Turn Wordpress to WPforo" , in Exclude page URLs section I entered desired urls to be accessed and they are working fine. But there is an issue as i am using "Better Messages" for Chatting and it uses different slug for every new message (?new message, ?bulk message, ?thread_id=1,?thread_id=2 .... and so on)

how to give access all addresses under this address( https://discuss.pkheart.com/vu/chat/)

Slug.PNG

Can anybody help me that how to give access all addresses under a page (  https://discuss.pkheart.com/vu/chat/ ) 

Hi @pkheart . I think the chat errors or slugs issue is a "Better Messages" plug in issue and not a wpForo issue.

I checked your site and I noticed that

Your forum location is at:
https://discuss.pkheart.com/vu/?wpforo=signup

And your chat is at:
https://discuss.pkheart.com/vu/chat/

I don't know if I am understanding you correctly...

"Can anybody help me that how to give access all addresses under a page?"

But what I do understand is the "Conflict" of your chat plugin with wpForo.  I experienced the same before so I will share with you what I did to make it work.

I've noticed you have a whole lot of posts already, and that is fine. Impressive courses!  🙂  My suggestion below worked for my many forum posts as well.  So you can try it, and see if it works for you too.

I think and suggest that you can try and do a "workaround" instead, so that you can use BOTH wpForo and the chat software you are using.

Steps:
1) Go to Forum Settings
2) Under the "General Tab", UNCHECK the box that says: "Turn WordPress to wpForo"
3) Then click the blue "UPDATE OPTIONS" button at the bottom.

4) Then go to WP Dashboard, create a New WP Page call it "Forum-Page"

type the wpForo shortcode on this page

[wpforo]

click Publish.

5) Then create another New WP Page, call it "Chat-Page"

type the chat shortcode on this page (I don't know the shortcode to your chat plugin :-))

click Publish.

6) Go to WP Dashboard
7) "Settings"
8) "Reading Settings"
9) Under "Your homepage displays", select "A static Page"
10) Then select the new "Forum-Page" you just created.
11) Click "Save Changes"

12) Then go back to WP Dashboard and select "Appearance"
13) Then select Edit Menus
14) On the Menu Structure, change the link from the old "chat" page to the new Chat Page that you just created.
15) Click Save Menu

16) Refresh your website or press Control f5 to see the changes.

17) With the above setup, your main website or home page would direct to your wpForo Forum, and you can use your chat plugin, since I am assuming your chat plugin is also using the same WP User Table that wpForo is using.

18) I think those chat message errors that you are seeing is because WP is the core, wpForo is using the WP user table, and syncing to it, and since you initially turned your WP to wpForo, your chat plugin doesn't know how to "log" the chat sessions, and is turning them into slugs / posts.

Hope this helps. Good luck and God bless you. 🙂

I'm just a member here who used to be a newbie.

The case: When I actually put my keyboard where my forum is, and became #172. Can you imagine if you had to build this forum yourself? How kind and patient will you be? The best way to say thank you is say it, write it, and then head on over at Wordpress plugin page and rate wpForo 5 stars - by clicking here.

Muhammad Umar Farooq liked
Muhammad Umar Farooq
Posts: 28
 Muhammad Umar Farooq
Topic starter
February 20, 2019 7:58 pm
(@pkheart)
Eminent Member
Joined: 2 years ago

@crisw Thanks for understanding and Support.   🙂 

You got my point but I want to use WPforo as stadalone (for better wide screen experience & short/better url as "forum-page" excludes)

is there any possibility to allow all URLs/pages while enabling " Turn WordPress to wpForo" 

Exclude-page-URLs.JPG

https://www.whichquery.com

CrisW liked
1 Reply
CrisW
 CrisW
(@crisw)
Joined: 2 years ago

Reputable Member
Posts: 281
February 24, 2019 12:25 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Posted by: pkheart

@crisw Thanks for understanding and Support.   🙂 

You got my point but I want to use WPforo as stadalone (for better wide screen experience & short/better url as "forum-page" excludes)

is there any possibility to allow all URLs/pages while enabling " Turn WordPress to wpForo" 

You are welcome @pkheart.

Now I am understanding the issue better. 🙂

I want to use WPforo as stadalone (for better wide screen experience & short/better url as "forum-page" excludes)

 

I noticed on your site that you are using 2019 WP Theme.

Have you considered changing your WP theme? And choose one which has an option for a wider screen?

One I can suggest is a theme called "StoreFront", (by Automattic - creators of WordPress), it has a full-width template, that I have used with other portals (I also tested how it looks with wpForo - it's wide enough for me! 🙂 ).

The wpForo Forum can work with that theme (using my long-winded suggestions above), and you can get the same end result.

You can try doing that while waiting for the wpForo update. 🙂

If you decide to use the WP theme "StoreFront" that you can download in the WP themes directory, just make sure you go to the WP "Widgets" area, and remove any WP widgets there, so that you can use the wpForo Widgets and take advantage of the Full-width template.

Or you can also just do a search on the WP theme directory, and search for "Full width template". I suggested "Storefront" because I've used it before, and I am wary of other themes conflicting with my simple setup.

Your website will look like a "standalone" forum, with my above suggestions, it can work.

I want to use WPforo as stadalone (for better wide screen experience & short/better url as "forum-page" excludes)

In the step-by-step suggestions that I typed above, specifically, 

Steps:
1) Go to Forum Settings
2) Under the "General Tab", UNCHECK the box that says: "Turn WordPress to wpForo"
3) Then click the blue "UPDATE OPTIONS" button at the bottom.

4) Then go to WP Dashboard, create a New WP Page call it "Forum-Page"

type the wpForo shortcode on this page

[wpforo]

click Publish.

And

6) Go to WP Dashboard
7) "Settings"
8) "Reading Settings"
9) Under "Your homepage displays", select "A static Page"
10) Then select the new "Forum-Page" you just created.
11) Click "Save Changes"

With my above suggestions, your users will not have to type

"https : // discuss . pkheart . com /vu/forum-page"

since Steps #6 to 11, takes care of the automatic redirection to your "homepage", and set by whatever WP page you want it to direct to.  

So, with my above suggestion, your user will be redirected to the "Static page" you created: 

https : // discuss . pkheart . com /vu/ 

I've personally used my above suggestions because all websites need to have their "Terms of Use", "Privacy Policy", GDPR pages, and if I turned my WP installation into a wpForo, all these pages would have to be created as "dated topics" under the "forum" folder, and if one is creating "evergreen" topics or articles, like "documentation", for example, and I don't want them dated, I would have to add a css to remove the dates on the forum, (which defeats the purpose of having a forum, in my opinion - forums should always be timestamped 🙂 ), that's why I keep them (WP and the Forum) separate and I've read up on wpForo documentation so that I understand it's many many possibilities for customizations, and also some of its limitations.  So that's why I suggested what I suggested.     

Hope this helps. Good luck and God bless you!

 

I'm just a member here who used to be a newbie.

The case: When I actually put my keyboard where my forum is, and became #172. Can you imagine if you had to build this forum yourself? How kind and patient will you be? The best way to say thank you is say it, write it, and then head on over at Wordpress plugin page and rate wpForo 5 stars - by clicking here.

Muhammad Umar Farooq liked
Sofy
Posts: 3747
Sofy - Facebook Sofy - Twitter
 Sofy
Admin
February 21, 2019 1:40 pm
(@sofy)
Support Team
Joined: 3 years ago

Hi @pkheart,

we're preparing a new wpForo version, this problem will be solved in new version release. You just need to wait for a while. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

CrisW and Muhammad Umar Farooq liked
17 Replies
Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
November 19, 2019 5:22 am
Reply toSofySofy

@sofy

Posted by: @pkheart

@crisw Thanks for understanding and Support.   🙂 

You got my point but I want to use WPforo as stadalone (for better wide screen experience & short/better url as "forum-page" excludes)

is there any possibility to allow all URLs/pages while enabling " Turn WordPress to wpForo" 

Exclude-page-URLs.JPG
Posted by: @sofy

Hi @pkheart,

we're preparing a new wpForo version, this problem will be solved in new version release. You just need to wait for a while. 

Many updates released but this issue is not fixed 🙁 

Kindly help me how to overcome on this issue. I want to use "Turn WordPress to wpForo" while allowing all pages.

https://www.whichquery.com

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
November 20, 2019 2:48 pm
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Sofy

Waiting for help ... 🙁

https://www.whichquery.com

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
November 22, 2019 2:29 pm
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Muhammad Umar Farooq
Sofy

@pkheart

Please follow the  steps below:

1. Open the functions.php file in the wp-content/plugins/wpforo/wpf-includes/ folder

2. Find the function wpforo_urlencode 

3. Replace with the following one: 

function wpforo_urlencode($str){
if( !preg_match('#^(\#post-\d+|https?:)$#isu', $str)
&& !preg_match('#([\?\&][^\?\&/=\r\n]*=?[^\?\&/=\r\n]*)(?1)*$#isu', $str)
&& strpos($str, '~') === false
&& strpos($str, '*') === false
&& $str === urldecode($str) )
$str = urlencode($str);
return $str;
}

4. Navigate to Dashboard > Forums > Settings > General admin page, put the URL in "Exclude page URLs" section:

https://discuss.pkheart.com/vu/ * 

The /* in the URL means that all the rest parts after the main part will be excluded as well. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq liked
Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
November 25, 2019 6:18 pm
Reply toSofySofy
Muhammad Umar Farooq
Muhammad Umar Farooq
Sofy

@sofy

Thanks a lot ! 🌼 

That's works for me perfectly !!! 👍 

https://www.whichquery.com

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
November 25, 2019 8:13 pm
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Muhammad Umar Farooq
Sofy

@sofy

All my additional wp pages are working fine but none of any forum post/topic working. "page can't be found" error appears (screen shot attached). only forum's main page displays.

 

( https://www.whichquery.com/vu )

 wpforo_posts-not-showings.png

https://www.whichquery.com

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
November 26, 2019 8:53 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Muhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Sofy

@pkheart

Please watch the video I've recorded for you: https://www.screencast.com/t/yq9bCoZe7

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
November 26, 2019 1:49 pm
Reply toSofySofy
Muhammad Umar Farooq
Muhammad Umar Farooq
Sofy
Sofy

@sofy

Sorry to mention above that i was changed code to default in function.php file. So my site works on previous settings until solution found!

When ever i make change in function.php, all URLs are accessible but only forum main page is normal, all other forums posts/topics nothing is found "page can't be found" error appears.

https://www.whichquery.com

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
November 28, 2019 10:32 pm
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Muhammad Umar Farooq
Sofy

@sofy

Please watch the video, May be helpful to understand the issue!

https://www.screencast.com/t/HXJWsdkrg4Uj

https://www.whichquery.com

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
November 29, 2019 11:07 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Muhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Sofy

@pkheart

I've already reported to the plugin developers about the issue. Please wait a bit. I'll update the topic once I get a response from them. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq liked
Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
November 29, 2019 1:02 pm
Reply toSofySofy
Muhammad Umar Farooq
Muhammad Umar Farooq
Sofy
Sofy

@pkheart,

4. Navigate to Dashboard > Forums > Settings > General admin page, put the URL in "Exclude page URLs" section:

https://discuss.pkheart.com/vu/  * 

the issue comes from the excluded URL you've added. It is wrong. 

The correct one is:

 https://discuss.pkheart.com/vu/chat/* 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
December 20, 2019 8:21 pm
Reply toSofySofy
Sofy
Muhammad Umar Farooq
Muhammad Umar Farooq
Sofy

@sofy

nope, all excluded URLs are accessible after applying code. but forum it self not accessible except main page.

https://www.screencast.com/t/HXJWsdkrg4Uj

https://www.whichquery.com

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
December 21, 2019 6:49 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Sofy
Sofy
Muhammad Umar Farooq
Sofy

@pkheart

Please let us know have you changed the excluded URL as mentioned above? 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
December 21, 2019 4:20 pm
Reply toSofySofy
Muhammad Umar Farooq
Sofy
Sofy
Sofy

@sofy

yes, And there is no issue remains about excluded URLs. The issue is after replacing the provided code, Forum itself not accessible but only main page is accessible ( https://www.whichquery.com/vu ). when click any post/topic error displays "Oops! that page can’t be found". video is already recorded for referrence.

https://www.screencast.com/t/HXJWsdkrg4Uj

https://www.whichquery.com

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
December 23, 2019 10:47 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Sofy
Sofy

@pkheart

Please send the admin login details to info[at]gvectors.com email address, to allow us to check the issue. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq liked
Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
December 26, 2019 4:53 pm
Reply toSofySofy
Muhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Sofy

@sofy

Shared on given email id !

https://www.whichquery.com

Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 3747
Sofy - Facebook Sofy - Twitter
December 27, 2019 10:01 am
Reply toMuhammad Umar FarooqMuhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Sofy
Sofy

Thank you @pkheart !

Now please change the code chant the PHP code and let us know. Please don't change the admin accesses. We may need it. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Muhammad Umar Farooq
 Muhammad Umar Farooq
(@pkheart)
Joined: 2 years ago

Eminent Member
Posts: 28
December 28, 2019 6:30 pm
Reply toSofySofy
Muhammad Umar Farooq
Sofy
Muhammad Umar Farooq
Sofy

@sofy

Code added in Functions.php, Please check now/ Thanks

https://www.whichquery.com

  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Permalinks fail, 404 errors for some (not all) tabs
    10 months ago
  • Member page not loading
    10 months ago
  • /Forum/ and /community/ URL/slug
    1 year ago
  • How to edit topic slug?
    2 years ago
Topic Tags:  slug (9),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages  wpforo-advanced-attachments-128x128  wpforo-embeds-128x128 wpForo User Custom Fields addon  wpForo – Blog Cross Posting addon  wpForo Ads Manager
View all Addons »

Recent Topics

  • Views are no longer counted

    By Oksana, 5 hours ago

  • A HUGE problem with an user

    By Alber_97, 7 hours ago

  • Help please

    By Creationweb, 10 hours ago

  • Settings for attachements cannot be saved

    By Jheronimus, 11 hours ago

  • Reply button problem

    By xfok, 11 hours ago

  • Advanced search including date fields as the default home page

    By Arik, 15 hours ago

Topic Tags

  • new features43
  • seo39
  • translation36
  • plugin conflict35
  • forum32
  • buddypress31
  • login31
  • threaded layout30
  • registration29
  • ultimate member28
  • moderation27
  • editor25
  • avatar24
  • shortcode23
  • css23
  • tags21
  • migration20
  • url20
  • menu20
  • colors19
View all tags (1465)

Recent Posts

  • RE: PHP error, need help

    @dimalifragis Tried it mate, still no cache folder....

    By Percysgrowroom, 1 hour ago

  • RE: Views are no longer counted

    Yes, I have also brought this up, but apparently this i...

    By danniee, 3 hours ago

  • RE: How to change class of link in button??

    @sofy I was trying inspection tool from google chrome...

    By civilenggnotes, 5 hours ago

  • A HUGE problem with an user

    I have a problem with a user who is uploading ILLEGAL p...

    By Alber_97, 7 hours ago

  • RE: slow queries

    This is the official post about caching: I'm not f...

    By dimalifragis, 8 hours ago

  • RE: Why wpForo using two Font Awesome files?

    @adisaputro, I'm sorry but it's not possible, they a...

    By Robert, 9 hours ago

  • RE: Help please

    @Martin Thank you for your prompt response, I attach ne...

    By Creationweb, 9 hours ago

Share:
  Forum Statistics
20 Forums
7,754 Topics
38.9 K Posts
3 Online
14.8 K Members

Latest Post: PHP error, need help Our newest member: kandyclore08 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2021 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation