Jump to content
xisto Community
Sign in to follow this  
iGuest

can someone upload a phpbb skin for me?

Recommended Posts

oh ,yea. whats that about all computer stuff? right?oh, yea, and it worked when i looked for cash isntead of points. thanks once again.

Share this post


Link to post
Share on other sites

ok i found something that i wasnt sure of.

------[OPEN]------includes/usercp_viewprofile.php ------[FIND]------//// Generate page//

where it says "generate" what does that mean? like where do i add the code?

Share this post


Link to post
Share on other sites

yep, it is.and that is just the find statement, in that file, there is a comment tag about generating a page, the add instruction will tell you where to put it. but for the install instructions, thats just a marker point of what to look for so you can add your code. you dont need to do anything with the "generate"

Share this post


Link to post
Share on other sites

so i add itt o the top of the page?

and i messed up the code for the Index.php code soooo bad. "usr/home/ssr/public_html/forum/index.php". when you gotto the site it says whats wrong but i dont see anything wrong i dont know what to do.

-----[OPEN]------index.php ------[FIND]------	$is_auth_ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata, $forum_data); ------[ADD, AFTER ]------	$itemarray = explode('ß', str_replace("Ţ", "", $userdata['user_items']));	$sql = "select name, accessforum from phpbb_shopitems where accessforum != '0' and accessforum > '0'";	if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, "Database Connection Error!".mysql_error()); }	$num_rows = mysql_num_rows($result);	$itemformaccess = array();	$itemcataccess = array();	for ($x = 0; $x < $num_rows; $x++)	{  $row = mysql_fetch_array($result);  if (in_array($row['name'], $itemarray))  {  	$itemformaccess[] = $row['accessforum'];  	$sql = "select cat_id from " . FORUMS_TABLE . " where forum_id = '{$row['accessforum']}'";  	if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_MESSAGE, "Database Connection Error: ".mysql_error()); }  	$row2 = mysql_fetch_array($result);  	$itemcataccess[] = $row2['cat_id'];  }	} ------[FIND]------  //  // Yes, we should, so first dump out the category ------[ADD, BEFORE]------  if (in_array($cat_id, $itemcataccess)) {  	$display_forums = true;  } ------[FIND]------      if ( $is_auth_ary[$forum_id]['auth_view'] ) ------[REPLACE WITH]------      if ( $is_auth_ary[$forum_id]['auth_view'] || in_array($forum_id, $itemformaccess)) ------[SAVE/CLOSE ALL FILES]------

can you tell me any common mistake that i might have done?

edited: HELP PLEASE! lol, i keep searching around to see the line that has the problem but nothing! then a new line comes up! it said there was an error in like line 200 something then 493 then 492 then 399 wtf do i do?!?!? i need help. someoen has to help me.

Share this post


Link to post
Share on other sites

if anyone here has an html kit or something can you help me? becausse i asked soeon and he said that an extra space could have made that parse error and that an html kit would help to find it or something.

Share this post


Link to post
Share on other sites
if ($board_config['viewprofile'] == "images"){	$itempurge = str_replace("?", "", $profiledata['user_items']);	$itemarray = explode('?',$itempurge);	$itemcount = count ($itemarray);	$user_items = "<br>";	for ($xe = 0;$xe < $itemcount;$xe++)	{  if ($itemarray[$xe] != NULL)  {  	if (file_exists('shop/images/'.$itemarray[$xe].'.jpg'))  	{    $user_items .= ' <img src="shop/images/'.$itemarray[$xe].'.jpg" title="'.$itemarray[$xe].'" alt="'.$itemaray[$xe].'">';  	}  	elseif (file_exists('shop/images/'.$itemarray[$xe].'.gif'))  	{    $user_items .= ' <img src="shop/images/'.$itemarray[$xe].'.gif" title="'.$itemarray[$xe].'" alt="'.$itemaray[$xe].'">';  	}  }	}	$usernameurl = '<a href="'.append_sid('shop.'.$phpEx.'?action=inventory&searchid='.$profiledata['user_id'], true).'" class="nav">Items</a>: ';}elseif ($board_config['viewprofile'] == "link"){	$usernameurl = '<a href="'.append_sid('shop.'.$phpEx.'?action=inventory&searchid='.$profiledata['user_id'], true).'" class="nav">Items</a>';}//start of effects store checks$shoparray = explode("?", $board_config['specialshop']);$shoparraycount = count ($shoparray);$shopstatarray = array();for ($x = 0; $x < $shoparraycount; $x++){	$temparray = explode("?", $shoparray[$x]);	$shopstatarray[] = $temparray[0];	$shopstatarray[] = $temparray[1];}//end of effects store checks$usereffects = explode("?", $profiledata['user_effects']);$userprivs = explode("?", $profiledata['user_privs']);$usercustitle = explode("?", $profiledata['user_custitle']);$userbs = array();$usercount = count($userprivs);for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("?", $userprivs[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }$usercount = count($usereffects);for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("?", $usereffects[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }$usercount = count($usercustitle);for ($x = 0; $x < $usercount; $x++) { $temppriv = explode("?", $usercustitle[$x]); $userbs[] = $temppriv[0]; $userbs[] = $temppriv[1]; }//// Generate page//$page_title = $lang['Viewing_profile'];include($phpbb_root_path . 'includes/page_header.'.$phpEx);display_upload_attach_box_limits($profiledata['user_id']);
that shows where it goes.it is near the end of the file

Share this post


Link to post
Share on other sites

o, nvm i found a way to fix it. i just have a couple of questions.1: how do you add a shop icon2: how do you add images to items in your shop store?and can you tell me them like this for exmaplecpanel>file manager> public_html, etc.. i know it up to forum i just dont know where to go after that.

Share this post


Link to post
Share on other sites

Ok i have another question. Im not 1005 sure what to do.[coecopy shop_users.php to shop_users.phpcopy shop_users_edit.php to shop_users_edit.phpcopy shop_users_view.php to shop_users_view.phpcopy mod_install.php to mod_install.phpcopy shop_users_body.tpl to /templates/*/shop_users_body.tplcopy shop_users_config.tpl to /templates/*/shop_users_config.tplcopy shop_users_view.tpl to /templates/*/shop_users_view.tpl[/code]ok for example the one that says "to shop_users_edit.php". since it doesnt say "/templates" for example does that mean that i have to add that in the main phpbb directory?-thanks in advance

Share this post


Link to post
Share on other sites

Miketron how the *BLEEP* do i suppose to goto google and search for how to addan image in the item store? thats retarded. and if it was in the phpbb forum then nobody would reply and help so i posted it here. theres nothing wrong with posting it here.

Share this post


Link to post
Share on other sites

Ok i have another question. Im not 1005 sure what to do.
[coecopy shop_users.php   to shop_users.php
copy shop_users_edit.php  to shop_users_edit.php
copy shop_users_view.php  to shop_users_view.php
copy mod_install.php   to mod_install.php
copy shop_users_body.tpl  to /templates/*/shop_users_body.tpl
copy shop_users_config.tpl  to /templates/*/shop_users_config.tpl
copy shop_users_view.tpl  to /templates/*/shop_users_view.tpl[/code]

ok for example the one that says "to shop_users_edit.php". since it doesnt say "/templates" for example does that mean that i have to add that in the main phpbb directory?

-thanks in advance

i havent done any of the images adding, so im not totally sure, i'll look into it, but about this, yes. the destination path always works from your phpBB root directory, so if no path is listed, it goes in the root

Share this post


Link to post
Share on other sites

ok thanks.man i cant figure out how to get the image to work. what i suppose todo was add a file named "shop" then another file named "images" and uplaod it at a .gif or a .jpg or something. and it doesnt work.thanks

Share this post


Link to post
Share on other sites

i got this from the mod authors troubleshooting FAQ. maybe it helps

Question: I've put images in the shop/images folder, but they still aren't appearing, why?Answer: This can be caused by a few things. First, the shop only allows .gif and .jpg images at the moment. Future releases will allow more choices.
Second, make sure if they're not showing in profiles or on threads, you have the options set to images and not links in the ACP.
Third, one of the more common mistakes, make sure the images are named EXACTLY the same as the item. For example, apple must have an apple.jpg image (or .gif). Apple will not work with apple.gif. Finally, make sure all your code is correct. That means rechecking all your editted files to make sure nothing is wrong.


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.