vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   slight n00b question (https://vborg.vbsupport.ru/showthread.php?t=175778)

patrick1110 04-10-2008 10:55 PM

slight n00b question
 
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

1 Attachment(s)
Quote:

Originally Posted by patrick1110 (Post 1487896)
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

Quote:

Originally Posted by patrick1110 (Post 1487907)
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?


All times are GMT. The time now is 08:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01298 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete