Posts: 509
Threads: 93
Joined: Dec 2019
Reputation:
31
2020-01-19, 10:50 PM
hello
is there a way without a plugin to hide links in my forum from guests
Posts: 646
Threads: 20
Joined: Jun 2019
Reputation:
80
2020-01-19, 11:11 PM
No, that's not possible!
[ExiTuS]
Posts: 191
Threads: 1
Joined: Jul 2019
2020-01-19, 11:19 PM
Hey,
I don't think there's an easy way to only hide links, but you could hide entire posts.
Posts: 509
Threads: 93
Joined: Dec 2019
Reputation:
31
2020-01-19, 11:20 PM
so what plugin do you suggest me to do that..
is there plugin to add something like this
[hide]link[/hide]
so i can hide content too
Posts: 191
Threads: 1
Joined: Jul 2019
2020-01-19, 11:23 PM
(This post was last modified: 2020-01-19, 11:24 PM by User 129272. Edited 2 times in total.)
I've linked the plugin in my previous post: https://community.mybb.com/mods.php?action=view&pid=313.
As for your second question, I believe you could achieve that with MyCode. Not 100% sure how, though.
Edit: Here's a way to do it: https://www.mybbcentral.com/thread-2.html
Posts: 1,000
Threads: 55
Joined: Nov 2006
2020-01-20, 12:51 AM
(This post was last modified: 2020-01-20, 01:21 AM by User 6029. Edited 7 times in total.)
It is a plugin but this might be something useful for your desire to hide links, images, quote, code, etc all together from guest usergroup or just say links from guest usergroup or any defined usergroup
What can be blocked
PHP,CODE,QUOTE,URL,IMG,EMAIL
Just a link blocked to usergroup 1 ie: guest if that is all you want
Just a link blocked with other option not blocked
Example of php code, code, img, link blocked to usergroup 1 ie: guest just to show it can be used beyond links
scd_hide_fg.php (Size: 9.06 KB / Downloads: 62)
* file only modified only to add 18* to compat listing
plugin info: https://mods.mybb.com/view/scd-code-hide...d-plugin-2
Posts: 509
Threads: 93
Joined: Dec 2019
Reputation:
31
2020-01-20, 08:30 AM
that exacly what i want @vintagedaddyo
but it doesnt work for me
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows FROM mybb_settinggroups WHERE name='scd_hide_fg'' at line 1
Query:
SELECT COUNT(*) as rows FROM mybb_settinggroups WHERE name='scd_hide_fg'
Please contact the MyBB Group for technical support.
Posts: 1,000
Threads: 55
Joined: Nov 2006
2020-01-20, 08:55 AM
(This post was last modified: 2020-01-20, 10:40 AM by User 6029. Edited 5 times in total.)
(2020-01-20, 08:30 AM)Mastersly Wrote: that exacly what i want @vintagedaddyo
but it doesnt work for me
In plugin find:
$query = $db->simple_select("settinggroups", "COUNT(*) as rows", "name='scd_hide_fg'");
$rows = $db->fetch_field($query, "rows");
if($rows > 0)
{
return true;
}
Have you tried
Change to something like: $rows to $zrows
$query = $db->simple_select("settinggroups", "COUNT(*) as rows", "name='scd_hide_fg'");
$zrows = $db->fetch_field($query, "rows");
if($zrows > 0)
{
return true;
}
scd_hide_fg.php (Size: 9.13 KB / Downloads: 59)
Sorry super tired atm but lemme know if that sorts it out for you
Posts: 509
Threads: 93
Joined: Dec 2019
Reputation:
31
2020-01-20, 08:23 PM
now i can see the plugin but when i click install i see this error
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1366 - Incorrect integer value: 'NULL' for column `r119830pel_anonsharee`.`mybb_settinggroups`.`gid` at row 1
Query:
INSERT INTO mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','scd_hide_fg','SCD Hide From Groups','Hide the contents of selected MyCode tags in your posts from selected groups.','500','no')
Please contact the MyBB Group for technical support.
sorry i am new at this and dont know what it says
Posts: 1,000
Threads: 55
Joined: Nov 2006
2020-01-21, 01:39 AM
(This post was last modified: 2020-01-21, 03:09 AM by User 6029. Edited 6 times in total.)
(2020-01-20, 08:23 PM)Mastersly Wrote: now i can see the plugin but when i click install i see this error
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1366 - Incorrect integer value: 'NULL' for column `r119830pel_anonsharee`.`mybb_settinggroups`.`gid` at row 1
Query:
INSERT INTO mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','scd_hide_fg','SCD Hide From Groups','Hide the contents of selected MyCode tags in your posts from selected groups.','500','no')
Please contact the MyBB Group for technical support.
sorry i am new at this and dont know what it says
Try this:
Version: 2.6 * (for MyBB 1.8.x)
Authors: Dylan M., Vintagedaddyo
Submitted: 20th January 2020
current localization:
- english
- englishgb
SCD_Hide_From_Groups_2.6.zip (Size: 582.36 KB / Downloads: 62)
* I only currently localized it for english and englishgb as that is all the time I had before my cellphone battery got low but lemme know if it works for you and if so then I will add further localization support for it and add it to the mods site https://community.mybb.com/mods.php?acti...w&pid=1331 when I get time.
|