[phpBB3] Simple Hide BBcode MOD

Hier kommen die Support Anfragen für phpBB 3.0.x MODs hinein.
ANewbie
Beiträge: 11
Registriert: 12. Jan 2010 01:46
Hat sich bedankt: 0
Danksagung erhalten: 0

[phpBB3] Simple Hide BBcode MOD

Beitrag von ANewbie »

Your phpBB Version: 3.06
Your phpBB Type: Standard phpBB (also called Vanilla (phpBB2) or Olympus (phpBB3))
MODs installed: Yes
Your knowledge: Beginner

What have you done before the problem was there?
Thanks Post MOD HIDE MOD compatible 0.2.0

What have you already tryed to solve the problem?
All the usual things - checking changes to files - clearing cache etc

Description and Message
Bild

This picture is an example post - the top part of the image is the preview and shows that the Hide mod is working - but once the post is posted (middle section) there is nothing to show that the text is hidden - unlike the example from your forum (bottom section)

Please could you give me an indication of what I have done wrong?

Thanks for any help you can give 8O
Benutzeravatar
Mahony
Site Admin
Site Admin
Beiträge: 792
Registriert: 3. Dez 2006 22:09
Hat sich bedankt: 22 Mal
Danksagung erhalten: 6 Mal

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von Mahony »

Hello
Have you edited the following files?
prosilver
styles/prosilver/template/bbcode.html,
styles/prosilver/theme/bidi.css,
styles/prosilver/theme/colours.css,
styles/prosilver/theme/content.css

subsilver2
styles/subsilver2/template/bbcode.html,
styles/subsilver2/theme/stylesheet.css

Look in the directory Simple Hide BBcode MOD \ templates

best regards Mahony
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.

Bild
ANewbie
Beiträge: 11
Registriert: 12. Jan 2010 01:46
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von ANewbie »

I had edited all the files you listed - but I rechecked the edits, purged the cache and refreshed templates etc again - but I am still getting the same 'error'
ANewbie
Beiträge: 11
Registriert: 12. Jan 2010 01:46
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von ANewbie »

Should I have uploaded and run contrib\addons\update_bbcode\install\update_bbcode.php?
Benutzeravatar
Mahony
Site Admin
Site Admin
Beiträge: 792
Registriert: 3. Dez 2006 22:09
Hat sich bedankt: 22 Mal
Danksagung erhalten: 6 Mal

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von Mahony »

Hello
There is 2 parts that you need to change manually.

ONE: ACP backend
(1) Go to Administration Control Panel
(2) Navigate to Posting -> BBCodes -> Add a new BBcode
(3) Under "BBCode usage", enters: {TEXT}
(4) Under "HTML replacement", leaves it empty
(5) Under "Help line", enters: Hide message: your message
(6) Under "Display on posting page", tick on the box (means yes)
(7) Click Submit to save your new BBcode
(8) Get your BBcode ID by:
(8.1) Click on the "Edit (green image)" button
(8.2) remembers the ID on the URL (i.e. &mode=bbcodes&action=edit&bbcode=XX, XX is the number)

TWO: Edit includes/constants.php
(1) Find define('HIDE_BBCODE_ID', 1000);
(2) Change 1000 to the bbcode ID XX from (8), e.g. define('HIDE_BBCODE_ID', 13);
(3) Save the file and upload to your webserver


Refresh Templates, Themes and Imagesets and clear the cache

best regards Mahony
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.

Bild
ANewbie
Beiträge: 11
Registriert: 12. Jan 2010 01:46
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von ANewbie »

Thank you for trying to help, but I have already carried out those steps as they were in the install instructions

I am at a loss to know what to do next to resolve the issue, I don't want to proceed with the addons until the base install is working properly :(
ANewbie
Beiträge: 11
Registriert: 12. Jan 2010 01:46
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von ANewbie »

Is there anything else that I can do to get this mod working properly please?
Benutzeravatar
Mahony
Site Admin
Site Admin
Beiträge: 792
Registriert: 3. Dez 2006 22:09
Hat sich bedankt: 22 Mal
Danksagung erhalten: 6 Mal

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von Mahony »

Hello
Check your file-edits again

best regards Mahony
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.

Bild
ANewbie
Beiträge: 11
Registriert: 12. Jan 2010 01:46
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von ANewbie »

I started over and now it is working but I have another question

The 'hide' button is not capitalised - could you tell me where the code is that draws the button so that I can change h to H

Thank you for your help :)
Benutzeravatar
Mahony
Site Admin
Site Admin
Beiträge: 792
Registriert: 3. Dez 2006 22:09
Hat sich bedankt: 22 Mal
Danksagung erhalten: 6 Mal

Re: [phpBB3] Simple Hide BBcode MOD

Beitrag von Mahony »

Hello
Change in the ACP - Posting - BBcodes

Code: Alles auswählen

[hide][/hide]
to

Code: Alles auswählen

[Hide][/Hide]

best regards Mahony
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
Klug ist, wer nur die Hälfte von dem glaubt, was er hört. Weise ist, wer erkennt, welche Hälfte richtig ist.

Bild
Antworten