PDA

View Full Version : slight n00b question


patrick1110
04-10-2008, 10:55 PM
i don't know much about ftp (if it is ftp) and i'm relatively new to the job. can someone explain to me what the forum "root" directory is and how i can find it? i'm trying to install a mod and it says i have to make a template edit. thanks in advanced?

deezelpope
04-10-2008, 11:05 PM
It should be named index or forums or the like.

But you don't make edits there...you upload files there.

patrick1110
04-10-2008, 11:13 PM
yeah, it says to upload the files there and the next step is to make a couple of template edits. but it's in ftp, in the site's server right? not the admin cp?

deezelpope
04-10-2008, 11:16 PM
You upload to your FTP, and do your template edits in your AdminCP in the Style Manager.

May I ask what mod you're doing?

patrick1110
04-10-2008, 11:26 PM
a warning bar called Inferno Warning System. it's used on another forum that i'm a mod on and i want to bring it to a new one. Infarctions are just too messy. i can't find a roots or index or forum folder, is it just the main folder?

and i have to upload everything in the upload folder, i can just right click > upload, right? i'm on filezilla. sorry, i just wanna get this right.

deezelpope
04-10-2008, 11:34 PM
a warning bar called Inferno Warning System. it's used on another forum that i'm a mod on and i want to bring it to a new one. Infarctions are just too messy. i can't find a roots or index or forum folder, is it just the main folder?

and i have to upload everything in the upload folder, i can just right click > upload, right? i'm on filezilla. sorry, i just wanna get this right.
Ok, see in mine where it says 'community'? That's my forum root/index. You need to find yours and double-click to open it, and do the same with the upload folder of the Inferno mod, to make sure you're uploading to the correct folders in your FTP.

Don't need to apologize...I remember how tough this was when I first started. We can figure this out.

patrick1110
04-10-2008, 11:51 PM
all right, under the main folder i have:

.cpanel
.trash
access-logs
etc
mail
public_ftp
public_html
tmp
www

those are my folders. how do you take a screenshot like that?

deezelpope
04-10-2008, 11:56 PM
all right, under the main folder i have:

.cpanel
.trash
access-logs
etc
mail
public_ftp
public_html
tmp
www

those are my folders. how do you take a screenshot like that?
I believe the one you want is public_html. If I'm wrong, hopefully someone here will correct me.

Alt+Print Screen, then I open it in Animation Shop...Paint works, too.

patrick1110
04-11-2008, 12:17 AM
all right, so i've uploaded the contents of the upload folder into public_html. step two says to make some template edits.

"Step 2:
Make the following template edits:

------------------------------------------------------------
Template: postbit_legacy OR postbit (depending on which you use)
Find:
----------------------
$post[iplogged]
----------------------
UNDERNEATH add:
----------------------
<if condition="$show['warning']"><br /><br /><div class="smallfont">$post[warning]</div></if>
----------------------
Save the template 'postbit_legacy' (or 'postbit')"

how do i do this? is it in my admin cp? if so, i don't see it anywhere.

Lynne
04-11-2008, 01:50 AM
Go to Admin CP > Styles & Templates > Style Manager and you should then have a list of styles on the right hand side. One of those should be your main style. When you locate it, there is a drop-down and you want to go to Edit Templates in the drop-down. Then you will get a list of all the templates in that style. Find a button that looks like << >> that and click it and it will expand all the template groups (for instance, you will have Post Templates, but you click that button and you see ALL the Post Templates, not just the Category Post Templates). Then, under the Post templates, you will see the templates "postbit_legacy" and also "postbit" and those are the ones you want to click on to edit (if you see your user info on the left, you use postbit_legacy, if you see the user info above the post, you use postbit).

patrick1110
04-11-2008, 07:02 PM
that worked, thanks. so i have the mod up now and it should be working (i'll check in a bit). now how to i get rid of the Infarction system? it's not a mod. there is an icon in the user info box to give infarctions and there's a box in each member's profile. i went ot postbit_legacy and found

condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>

should i remove that?

EDIT: nevermind, i found the code for the icon, removed that from the user info box in posts. how can i remove the box from the profiles though?