We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Any PHPbb whizzes out there? I need you.
Comments
-
Right seeing as you have been so fab so far. Can you traslate this into English for me? I can do step 1 and 3, just not sure on this one.
STEP NUMBER II: Installing the Attachment Mod (Database)
#
# You should have uploaded the install folder (above), which is only needed for running the database installer.
# Make sure you uploaded the schema Files (those files ending in .sql) in ASCII Mode (This is the Layout and Data for your Database):
#
#
#
# Now we want to create the tables, therefore we run the install.php file (http://www.yoursite.com/phpBB2/install/install.php)
# Please be sure to enter the correct URL (replacing https://www.yoursite.com with your sites URL),
# the install.php file has to be placed within the install folder. If it is not within the install folder, you WILL get errors.
#
# After the install.php file hass been executed successfully, you should remove the complete install folder.
#
Thank you again, you cant begin to know how fab you are :beer:Work like you don't need money,Love like you've never been hurt,And dance like no one's watchingSave the cheerleader, save the world!0 -
iwanttosave wrote:Right seeing as you have been so fab so far. Can you traslate this into English for me? I can do step 1 and 3, just not sure on this one.
STEP NUMBER II: Installing the Attachment Mod (Database)
#
# You should have uploaded the install folder (above), which is only needed for running the database installer.
# Make sure you uploaded the schema Files (those files ending in .sql) in ASCII Mode (This is the Layout and Data for your Database):
#
#
#
# Now we want to create the tables, therefore we run the install.php file (http://www.yoursite.com/phpBB2/install/install.php)
# Please be sure to enter the correct URL (replacing https://www.yoursite.com with your sites URL),
# the install.php file has to be placed within the install folder. If it is not within the install folder, you WILL get errors.
#
# After the install.php file hass been executed successfully, you should remove the complete install folder.
#
Thank you again, you cant begin to know how fab you are :beer:
Presumably you have already uploaded the install folder in the previous step, so now after uploading your schema Files (those files ending in .sql) you need to create the tables by running the install file located at:
http://www.yoursite.com/phpBB2/install/install.php after substituting your website in place of https://www.yoursite.com:doh: Blue text on this forum usually signifies hyperlinks, so click on them!..:wall:0 -
I havent done a thing yet, because the instructions are so long (21 pages long) I wanna make sure I understand everything and can go at it in one go.
Oh I think I understand that bit now, I had to type a URL in like that to install easymod.
Thank you :kisses3: God knows why I took on this role. :rolleyes:Work like you don't need money,Love like you've never been hurt,And dance like no one's watchingSave the cheerleader, save the world!0 -
Most of the pages refer to changes that need to made to the code in the php files and that is why there are so many pages. Since you aren't using the subsilver template you are going to have to change the files as well. It does say it will take 30-60 mins to install for an intermediate skilled developer, which I think is pushing it

If you want an "easier" installation perhaps you should change back to subsilver, install attachment mod (which will only involve uploading the new php files and running the install.php file). Then again I know you said you put a lot of work into getting the other template to work.0 -
Since you aren't using the subsilver template you are going to have to change the files as well.
Change them how?
You squashed my happy mood, thought I had cracked it then
Work like you don't need money,Love like you've never been hurt,And dance like no one's watchingSave the cheerleader, save the world!0 -
oh deariwanttosave wrote:Change them how?
You squashed my happy mood, thought I had cracked it then

you'll get through this though I'm sure
Ok, let's look at the first change to be made#
#
[ OPEN ]
#
common.php
#
#
[ FIND ]
# around line 219
$board_config[$row] = $row;
}
#
#
[ AFTER, ADD ]
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
This is what you need to do...
1. Open the file common.php using a text editor, notepad and wordpad won't do as they don't have line numbering. I suggest you download Notepad2.
You will find all the required files in the phpbb2 folder on your server. So common.php would be in phpbb2\common.php (i.e. it is in the root of phpbb2 and not a subfolder)
2. Find the line it says, 219, you will see the code
$board_config[$row] = $row;
somewhere next to this line, it may be one line or even 2/3 lines further down, it depends what has been done to the script before hand.
3. The next instruction is
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
The closing brace is a } and it is below the $board_config[$row] = $row; piece of code you found in step 2. So after the closing brace you would add the include $phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx); piece of code.
Below is the unmodified and modified code starting on line 219
Unmodified
[PHP]
!!
$board_config[$row] = $row;
}[/PHP]
Modified
[PHP]
!!
$board_config[$row] = $row;
}
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
[/PHP]
You would then do this for the other code segments listed in the install.txt file. When you come across the changes required to subsilver, you modify YOUR own template files i.e. colosseum. In the templates folder there should be a folder for colosseum.
PS I don't know why the first !! in the php code snippets are changing to !!, it's supposed to be a !!
Ok so it doesn't like opening braces "!!"0 -
So basically, rather than making the changes to the file in subSilver, I make them in colusseum.
I understand that
When I have been editing scripts, I have just been opening them in my FTP client (it has a nice little find/replace tool) but its probably easier if I get this notepad2 so no changes are being made by accident then :think:Work like you don't need money,Love like you've never been hurt,And dance like no one's watchingSave the cheerleader, save the world!0 -
It also looks like you will have to upload the files in
attachment_mod\templates\subSilver (when unzipped to local pc)
to the colosseum template folder (instead of subsilver). You have got a colosseum template folder haven't you?
I've been looking for somewhere to download the colosseum template but I can't find it, have you got a link?0 -
Colosseum template
Me again :wave:
I really cant get this easy mod to work, and I think it is the FTP path to phpBB2 where I am going wrong, we dont have a phpBB folder or a forum folder, we just go into public_html and all the files are there.
Where do I link it to? I can do a screenshot if you want to see my directories.
I think I am gonna cry
Work like you don't need money,Love like you've never been hurt,And dance like no one's watchingSave the cheerleader, save the world!0 -
Ta for link

I think you should post a screenie so we can see whats what
0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.8K Banking & Borrowing
- 254.3K Reduce Debt & Boost Income
- 455.2K Spending & Discounts
- 246.9K Work, Benefits & Business
- 603.4K Mortgages, Homes & Bills
- 178.2K Life & Family
- 260.9K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards