Support Forum

Subscription and Watches plugins .again..

BI Bayan irhaem
Bayan irhaem
Member

Hi

I just joined your community, and installed those 2 plugins.But:
1-When user click on Subscribe and watch buttons:
He is redirect to forum main page and on his list (0) subscribed or wathced topics.
2-I can’t edit Admin primission,Please tell me where?
Thank you

35 Answers

New Answer

MP Mr Papa
Mr Papa
Member

Those counts are not subscribed or watched counts. They are counts of new/unread posts in subscribed or watched topics.

BI Bayan irhaem
Bayan irhaem
Member

Hi

Thank you for replay..

Am not talking about counts..am saying..when i click watch or Subscribe,Then click on button Subscribed

“popup dialog opend and says you have no subscribed or wathced topics”

2-Where to change admin primission?

Thank you

MP Mr Papa
Mr Papa
Member

Not sure what you are asking. If you can see the button, you have permission to subscribe. Same for watches.

Permissions are set on forum – permissions – manage permissions

If you want to set up admits, that is on forum – admins – manage admins.

BI Bayan irhaem
Bayan irhaem
Member

I see the buttons..but not if i login as admin.

When i login as user:

1-i click watch or Subscribe.

2-When i want to see which topic or post i added in popup dialog:

Nothing there the topic or post not saved.

and message :”You are not currently watching any topics”

Please check my site:

http://7gag.co

thank you

BR Brandon
Brandon
Member

You are getting a JQuery conflict using Googleapis. I would first try and take care of that. See this article in the Simple:Press codex. What is this jQuery Conflict?

I am also seeing an error about JavaScript Audio Player not defined which isn’t a part of Simple:Press

BI Bayan irhaem
Bayan irhaem
Member

Brandon C said
You are getting a JQuery conflict using Googleapis. I would first try and take care of that. See this article in the Simple:Press codex. What is this jQuery Conflict?

I am also seeing an error about JavaScript Audio Player not defined which isn’t a part of Simple:Press

Thank you for replay:

1-about Audio Player not defined:it’s not problem, it’s some code i removed from theme and dosen’t effect SP.

2-about the conflict????? i can’t see it and even if i did!!! i don’t know how to solve it!!!

Please if you can help..i will be grateful.

MP Mr Papa
Mr Papa
Member

Please keep in mind any js errors can stop js from processing any further js so should be resolved.

Will be able to take a closer look later tonight.

BI Bayan irhaem
Bayan irhaem
Member

Mr Papa said
Please keep in mind any js errors can stop js from processing any further js so should be resolved.

Will be able to take a closer look later tonight.

Hi:

1-i restored loading js from original path (wp-includes) but same result…..

watch or Subscribe…show nothing.

2-Search not working at all (even not showing 0 result),it’s just refreshing the page or redirecting to mail forum page!!!

Thank you

MP Mr Papa
Mr Papa
Member

I am getting numerous js errors on this page… especially if I hover over any menu item…

TypeError: a is undefined

http://dl.dropbox.com/u/23067362/7gag/jquery.js

Line 2

interestingly when searching, getting errors too:

ReferenceError: AudioPlayer is not defined

http://7gag.co/forum/?search=1&new=1&forum=all&value=stories&type=1&include=1

Line 99

almost as if the audio player is intercepting the search url with query args that we have set up…

and when you execute the search, your server if forbidding it… these are the headers:

GET /forum/?search=1&new=1&forum=all&value=stories&type=1&include=1 HTTP/1.1

Host: 7gag.co

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1

Accept: text/problem-with-post-edit-buttontml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip, deflate

Connection: keep-alive

Referer: http://7gag.co/forum/

Cookie: wfvt_340468725=5011eeed2ecd2; __cfduid=dad7981d378c0efe0648e416e14c5d0451343352454; __utma=134686135.179653261.1343352461.1343352461.1343352461.1; __utmb=134686135.3.10.1343352461; __utmc=134686135; __utmz=134686135.1343352461.1.1.utmcsr=simple-press.com|utmccn=(referral)|utmcmd=referral|utmcct=/support-forum/sp5-plugin-topics/subscription-and-watches-plugins-again/

Cache-Control: max-age=0

HTTP/1.1 403 Forbidden

Server: cloudflare-nginx

Date: Fri, 27 Jul 2012 01:34:29 GMT

Content-Type: text/problem-with-post-edit-buttontml; charset=UTF-8

Connection: keep-alive

X-Powered-By: PHP/5.2.17

X-Pingback: http://7gag.co/xmlrpc.php

Set-Cookie: wfvt_340468725=5011effccf893; expires=Fri, 27-Jul-2012 02:03:48 GMT; path=/

Content-Length: 52399

any idea what on your server might be blocking it??  any chance you are running mod_security??

BI Bayan irhaem
Bayan irhaem
Member

Mr Papa said

I am getting numerous js errors on this page… especially if I hover over any menu item…

TypeError: a is undefined

http://dl.dropbox.com/u/23067362/7gag/jquery.js

Line 2

interestingly when searching, getting errors too:

ReferenceError: AudioPlayer is not defined

http://7gag.co/forum/?search=1&new=1&forum=all&value=stories&type=1&include=1

Line 99

almost as if the audio player is intercepting the search url with query args that we have set up…

and when you execute the search, your server if forbidding it… these are the headers:

GET /forum/?search=1&new=1&forum=all&value=stories&type=1&include=1 HTTP/1.1

Host: 7gag.co

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1

Accept: text/problem-with-post-edit-buttontml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip, deflate

Connection: keep-alive

Referer: http://7gag.co/forum/

Cookie: wfvt_340468725=5011eeed2ecd2; __cfduid=dad7981d378c0efe0648e416e14c5d0451343352454; __utma=134686135.179653261.1343352461.1343352461.1343352461.1; __utmb=134686135.3.10.1343352461; __utmc=134686135; __utmz=134686135.1343352461.1.1.utmcsr=simple-press.com|utmccn=(referral)|utmcmd=referral|utmcct=/support-forum/sp5-plugin-topics/subscription-and-watches-plugins-again/

Cache-Control: max-age=0

HTTP/1.1 403 Forbidden

Server: cloudflare-nginx

Date: Fri, 27 Jul 2012 01:34:29 GMT

Content-Type: text/problem-with-post-edit-buttontml; charset=UTF-8

Connection: keep-alive

X-Powered-By: PHP/5.2.17

X-Pingback: http://7gag.co/xmlrpc.php

Set-Cookie: wfvt_340468725=5011effccf893; expires=Fri, 27-Jul-2012 02:03:48 GMT; path=/

Content-Length: 52399

any idea what on your server might be blocking it??  any chance you are running mod_security??

Hi

am running:

1-WangGuard

2-Wordfence Security

I removed all audio player code..so no error now.

I deactivate both of them…but i still have same errors.

I will keep them Deactivated until you check by your self.

Thank you

MP Mr Papa
Mr Papa
Member

but what about mod_security?  that would be an apache module on your server not wp related…

so any thoughts on why your server would be throwing a 403 forbidden error on that url??  might be worth consulting your host too…

BI Bayan irhaem
Bayan irhaem
Member

Mr Papa said
but what about mod_security?  that would be an apache module on your server not wp related…

so any thoughts on why your server would be throwing a 403 forbidden error on that url??  might be worth consulting your host too…

Hi…they said nothing there…

And asked me more details about the error: so please tell me what to ask them and what is the error?

And what about Subscribe and watch plugins? why they not saving request or even working?

Thank you

MP Mr Papa
Mr Papa
Member

could all be related…  solve one, may solve all…  one at a time…

its like your server is rejecting urls with some query args…  like mod_security often does by mistake…

I would start by showing them post 11 and the http headers I captured… namely the 403 denied and see if they can tell why…

BI Bayan irhaem
Bayan irhaem
Member

please take a look at .htaccess

but even when i restored the original one..the error stil there.

Options -Indexes

<Files ~ “^.*.([Hh][Tt][Aa])”>

order allow,deny

deny from all

satisfy all

</Files>

<files wp-config.php>

Order deny,allow

Deny from all

</files>

# BEGIN W3TC Browser Cache

<IfModule mod_deflate.c>

<IfModule mod_setenvif.c>

BrowserMatch ^Mozilla/4 gzip-only-text/problem-with-post-edit-buttontml

BrowserMatch ^Mozilla/4.0[678] no-gzip

BrowserMatch bMSIE !no-gzip !gzip-only-text/problem-with-post-edit-buttontml

BrowserMatch bMSI[E] !no-gzip !gzip-only-text/problem-with-post-edit-buttontml

</IfModule>

<IfModule mod_headers.c>

Header append Vary User-Agent env=!dont-vary

</IfModule>

<IfModule mod_filter.c>

AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/problem-with-post-edit-buttontml text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon

</IfModule>

</IfModule>

<FilesMatch “.(css|js|htc|CSS|JS|HTC)$”>

FileETag None

<IfModule mod_headers.c>

Header set X-Powered-By “W3 Total Cache/0.9.2.4”

</IfModule>

</FilesMatch>

<FilesMatch “.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$”>

FileETag None

<IfModule mod_headers.c>

Header set X-Powered-By “W3 Total Cache/0.9.2.4”

</IfModule>

</FilesMatch>

<FilesMatch “.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>

FileETag None

<IfModule mod_headers.c>

Header set X-Powered-By “W3 Total Cache/0.9.2.4”

</IfModule>

</FilesMatch>

# END W3TC Browser Cache

# BEGIN W3TC Page Cache core

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^(.*/)?w3tc_rewrite_test$ $1?w3tc_rewrite_test=1 [L]

RewriteCond %{HTTP:Accept-Encoding} gzip

RewriteRule .* – [E=W3TC_ENC:_gzip]

RewriteCond %{REQUEST_METHOD} !=POST

RewriteCond %{QUERY_STRING} =””

RewriteCond %{HTTP_HOST} =7gag.co

RewriteCond %{REQUEST_URI} /$ [OR]

RewriteCond %{REQUEST_URI} (sitemap(_index)?.xml(.gz)?|[a-z0-9_-]+-sitemap([0-9]+)?.xml(.gz)?) [NC]

RewriteCond %{REQUEST_URI} !(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|/feed/|wp-.*.php|index.php) [NC,OR]

RewriteCond %{REQUEST_URI} (wp-comments-popup.php|wp-links-opml.php|wp-locations.php) [NC]

RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_[a-f0-9]+|wordpress_logged_in) [NC]

RewriteCond %{HTTP_USER_AGENT} !(W3 Total Cache/0.9.2.4) [NC]

RewriteCond “%{DOCUMENT_ROOT}/wp-content/w3tc/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}” -f

RewriteRule .* “/wp-content/w3tc/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}” [L]

</IfModule>

# END W3TC Page Cache core

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

# END WordPress

<IfModule mod_security.c>

<Files async-upload.php>

SecFilterEngine Off

SecFilterScanPOST Off

</Files>

</IfModule>

<IfModule mod_headers.c>

# Cache files

<FilesMatch “.(ico|pdf|flv|jpg|jpeg|png|gif|swf|css|js)$”>

Header set Cache-Control “max-age=2592000”

Header set Expires “Mon, 20 Apr 2015 20:00:00 GMT”

Header unset Last-Modified

</FilesMatch>

# BEGIN GZIP

<ifmodule mod_deflate.c>

AddOutputFilterByType DEFLATE text/text text/problem-with-post-edit-buttontml text/plain text/xml text/css application/x-javascript application/javascript

</ifmodule>

# END GZIP

RewriteEngine On

# proc/self/environ? no way!

RewriteCond %{QUERY_STRING} proc/self/environ [OR]

# Block out any script trying to set a mosConfig value through the URL

RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]

# Block out any script trying to base64_encode crap to send via URL

RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]

# Block out any script that includes a <script> tag in URL

RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]

# Block out any script trying to set a PHP GLOBALS variable via URL

RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]

# Block out any script trying to modify a _REQUEST variable via URL

RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})

# Send all blocked request to homepage with 403 Forbidden error!

RewriteRule ^(.*)$ index.php [F,L]

Thank you