vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Easy Auction v1.1 (https://vborg.vbsupport.ru/showthread.php?t=92857)

Tradjick 07-26-2005 11:35 PM

This looks like an extreeeeemly great addition to vB. I just wished i had a reliable memberbase, as i already have much to bid to my members. But they just still won?t show up :(

icecube0045 07-27-2005 12:00 AM

how do I "CHMOD" my files?

yoyoyoyo 07-27-2005 12:32 AM

Quote:

Originally Posted by icecube0045
how do I "CHMOD" my files?

Files and directories on webservers may have three types of permissions:

1) read (`r')
2) write (`w')
3) execute (`x')

Each permission may be `on' or `off' for each of three categories of users:

1) the first digit refers to the file or directory owner
2) the second digit refers to other people in the same group as the owner
3) the third digit refers to all others (the world)

'chmod' or "change mode" is the UNIX way of changing file permissions. Basically CHMOD refers to setting the access privileges for a file, and you use an FTP client. Highlight the file that you want to change permissions for, and right click and select "Properties" or "Permissions" or "CHMOD" or "File Attributes" (depending on which FTP client you are using). Within each set of permissions (you, group, world) there are three permissions you can set: Read - Write - Execute. Therefore when you set the permissions on a file you must take into account 'who' needs access. The chmod command allows you to change the file permissions to allow only specific people to view your files and directories.

This is what CHMOD 755 looks like:

http://img57.imageshack.us/img57/8904/chmod7555uy.jpg

Most Perl Scripts should be set to 755. Most HTML files should be set to 644. And most data files that must be written to by a web server should be 666. The standard directory permission should be 755. Directories that must be written to by a web server should be 777. Your home directory should be 700. If you are operating a ~username type server, the public_html directory should be 777. (You may also need to open up the home directory to 755.) (It's typically a bad idea to chmod 777 any file, as it allows the world to replace the program with whatever they'd like).

Setting execute for a directory allows that directory to be read. That is, you can see what's in it. That is, if a user does not have execute permissions for a directory, when they attempt to view the contents of that directory it will return an error and not list the files in that directory.

side note: Any file name that starts with a '.' is invisible to the webserver when a directory list is generated (This is a quick and easy way to hide a file).

here is a quick CHMOD reference:

Number | Permissions
=================================================
0 | None - cannot read or write or execute
1 | Can execute, but cannot read or write
2 | Write-only, cannot read or execute (??)
3 | Writeable/executable
4 | Read-only, cannot write to or execute
5 | Read-only executable, cannot write to
6 | Readable Writeable file, but not executable (ie: text file)
7 | Readable Writeable Executable file - most programs are this

icecube0045 07-27-2005 01:03 AM

thank you yoyoyoyo you have been extremely helpful and I now have it uploaded and its working. Now im trying to figure out how to change the colors and the names and add catigories

icecube0045 07-27-2005 01:06 AM

In my vb cp i dont see add new template. This is all I see,

Style Manager
Search in Templates
Replacement Variable Manager
Download / Upload Styles
Find Updated Templates

yoyoyoyo 07-27-2005 01:17 AM

Quote:

Originally Posted by icecube0045
In my vb cp i dont see add new template. This is all I see,

Style Manager
Search in Templates
Replacement Variable Manager
Download / Upload Styles
Find Updated Templates

click on the style manager link, and then in the drop down box on the right hand side where it says "all style options" you will see an option to "Add New Template" under "TEMPLATE OPTIONS"

or you can always just go to:

http://yoursite.com/forum/admincp/template.php?s=&group=&do=add&dostyleid=1

(assuming you are editing style ID #1)

yoyoyoyo 07-27-2005 01:35 AM

Quote:

Originally Posted by icecube0045
OK, ive added the new template but when I try to add it to my nav bar, I dont see the option "nav bar". it was there before when I added the trader feedback ratings but its not there right now.

click on the "<< >>" button

icecube0045 07-27-2005 01:58 AM

When i try to open auction.php i get an error message that says "Warning: main(./includes/init.php): failed to open stream: No such file or directory in "my directory" on line 21. And I get a fatal error message. but the auction.pl works and the auctions page comes up and everything

yoyoyoyo 07-27-2005 02:02 AM

Quote:

Originally Posted by icecube0045
When i try to open auction.php i get an error message that says "Warning: main(./includes/init.php): failed to open stream: No such file or directory in "my directory" on line 21. And I get a fatal error message. but the auction.pl works and the auctions page comes up and everything

You need to change the filepath in the template iframe section to match the filepath to your auction.pl file. Try this.. change the code in the template to look like this:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
        $headinclude
</head>
<body>
$header
$navbar
<if condition="$bbuserinfo[userid]!=0">
<div align=center><iframe name="auction" ALIGN="CENTER" BORDER="0" FRAMEBORDER=0 HEIGHT=3000 WIDTH=100% MARGINHEIGHT=0 VSPACE=0 MARGINWIDTH=0 SCROLLING=0 src="http://yoursite.com/cgi-bin/auction/auction.pl"></iframe></div>
$foruminfo[forumfooter]
$footer

change the URL to match the URL to your auction.pl file

icecube0045 07-27-2005 02:18 AM

Quote:

Originally Posted by yoyoyoyo
You need to change the filepath in the template iframe section to match the filepath to your auction.pl file. Try this.. change the code in the template to look like this:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
        $headinclude
</head>
<body>
$header
$navbar
<if condition="$bbuserinfo[userid]!=0">
<div align=center><iframe name="auction" ALIGN="CENTER" BORDER="0" FRAMEBORDER=0 HEIGHT=3000 WIDTH=100% MARGINHEIGHT=0 VSPACE=0 MARGINWIDTH=0 SCROLLING=0 src="http://yoursite.com/cgi-bin/auction/auction.pl"></iframe></div>
$foruminfo[forumfooter]
$footer

change the URL to match the URL to your auction.pl file

Ok I just did that but the auction.php file still gives me that same error


All times are GMT. The time now is 06:14 AM.

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.01262 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete