Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mYrAn

Pages: [1] 2
1
Mods & Plugins (Requests & Discussions) / Re: More fields in profile?
« on: December 07, 2006, 07:35:43 PM »
But how does that work? can i modify it in the adminpanel?

2
Mods & Plugins (Requests & Discussions) / More fields in profile?
« on: December 07, 2006, 06:57:52 PM »
Is it possible to add more fields to the profile? on my site i have no registration, i create all the members on the adminpanel and wright in their data from a paper, so it would be nice if i could add a member from the adminpanel, wright in the fields that i have created, and they would bee listen on a all members page, and have a personal page were all the info i submited is. Thanx in advance!

// mYrAn

3
How do i take away the rightclick disabling?

4
Mods & Plugins (Requests & Discussions) / Remove need to upload image?
« on: October 31, 2006, 08:19:51 AM »
Is it possible to remove the need to have an image in the upload box in member_uploadform.html? Sience iam building a tutorial site i dont need/want it, but i still want the other things there. Or, were u submit a link on the upload page, that its static for all but is not shown anywere.  Cheers // mYrAn

EDIT:
I figuerd out how to do so everyone has the same picture but when you have submited this comes up http://chrissan.mine.nu/gone.jpg . I want to take that away.

EDIT:
Did it myself by removing somethings in member.php.

5
Hi! iam buiilding an tutorialsite using 4images, and i dont want any images so i use the description renamed to display tutorials. And now i want to have different tumbnails displayed on like newst images or so depending on wich category its in. So if i were submiting a tutorial (image for you), and choose photoshop category, when its submitet it will have the photoshop image on newest image and all of those. So no image upload, it will have a pre-choosen images. Is this possible?

6
Mods & Plugins (Requests & Discussions) / Re: Text insted of images
« on: October 28, 2006, 08:30:30 PM »
I dont think u really understand ;) ill try to explane better.

I want the 4images base code. Were the users upload their images, they submit tutorials instead. Insted of random image, Random tutorial. Instead of Newest images, Newest tutorial. I think you understand now :)

7
Mods & Plugins (Requests & Discussions) / Re: Text insted of images
« on: October 28, 2006, 08:26:29 PM »
I mean just simple html. Instead of posting pictures i want the users to be able to post a link to a tutorial or wright a tutorial were u usually upload images :)

8
Mods & Plugins (Requests & Discussions) / Text insted of images
« on: October 28, 2006, 08:13:57 PM »
Iam trying to make a tutorial site with anoter system with no luck. So i tought of 4images. Is it possible to do so you post text instead of images? it has it all else, categorys etc. . It would bee very nice!

9
Mods & Plugins (Requests & Discussions) / Re: Non-logged in userpages
« on: October 09, 2006, 08:41:36 AM »
Is it realy that hard?'

EDIT

I did it myself.

Ad this code to the page u dont want viewable for guests
Code: [Select]
//Only for members

if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
  show_error_page($lang['no_permission']);
  exit;
}


10
Mods & Plugins (Requests & Discussions) / Non-logged in userpages
« on: October 08, 2006, 04:16:43 PM »
Hello! Im in search of a code that lets only logged in people view a page. So if i have like hello.php, i dont want none-logged in people to be able too see that page, only the logged in ones can see it.

Heres the code of the php file i want it in, i have lots of copies of this file but they all link to different template files.

Code: [Select]
<?php 
$main_template 
'XX'

define('GET_CACHES'1); 
define('ROOT_PATH''./'); 
define('GET_USER_ONLINE'1); 
include(
ROOT_PATH.'global.php'); 
require(
ROOT_PATH.'includes/sessions.php');


$user_access get_permission(); 

if (isset(
$HTTP_GET_VARS['template']) || isset($HTTP_POST_VARS['template'])) { 
  $template = (isset($HTTP_GET_VARS['template'])) ? stripslashes(trim($HTTP_GET_VARS['template'])) : stripslashes(trim($HTTP_POST_VARS['template'])); 
  if (!file_exists(TEMPLATE_PATH."/".$template.".".$site_template->template_extension)) { 
    $template ""
  
  else { 
    $main_template $template
  

else { 
  $template ""

include(
ROOT_PATH.'includes/page_header.php'); 

if (!empty(
$template)) { 
  $clickstream "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_"" "ucfirst($template)); 
  $site_template->register_vars("clickstream"$clickstream); 
  $site_template->print_template($site_template->parse_template($main_template)); 
  include(ROOT_PATH.'includes/page_footer.php'); 


$clickstream "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator']; 
$clickstream .= $main_template


//----------------------------------------------------- 
//--- Print Out --------------------------------------- 
//----------------------------------------------------- 
$site_template->register_vars(array( 
  "msg" => $msg
  "clickstream" => $clickstream 
)); 
  
  $site_template
->print_template($site_template->parse_template($main_template)); 
  include(ROOT_PATH.'includes/page_footer.php'); 

?>

XX = The template files name.

// mYrAn

12
Mods & Plugins (Requests & Discussions) / [Mod] Page Creator / Custom Pages
« on: September 30, 2006, 07:35:34 AM »
Hi everyone! Time to realease my first mod! Iam not very good in english ( iam just 14 ) so ask later if you dont understad!

Files to modify:

None

Were just gonna do a new file in the root of your 4images folder. I named my page_1.php
Ad this code into the file:
Code: [Select]

<?php 
$main_template 
'xxxxxx'

define('GET_CACHES'1); 
define('ROOT_PATH''./'); 
define('GET_USER_ONLINE'1); 
include(
ROOT_PATH.'global.php'); 
require(
ROOT_PATH.'includes/sessions.php');


$user_access get_permission(); 

if (isset(
$HTTP_GET_VARS['template']) || isset($HTTP_POST_VARS['template'])) { 
  $template = (isset($HTTP_GET_VARS['template'])) ? stripslashes(trim($HTTP_GET_VARS['template'])) : stripslashes(trim($HTTP_POST_VARS['template'])); 
  if (!file_exists(TEMPLATE_PATH."/".$template.".".$site_template->template_extension)) { 
    $template ""
  
  else { 
    $main_template $template
  

else { 
  $template ""

include(
ROOT_PATH.'includes/page_header.php'); 

if (!empty(
$template)) { 
  $clickstream "<a href=\"".$site_sess->url(ROOT_PATH."index.php")."\">".$lang['home']."</a>".$config['category_separator'].str_replace("_"" "ucfirst($template)); 
  $site_template->register_vars("clickstream"$clickstream); 
  $site_template->print_template($site_template->parse_template($main_template)); 
  include(ROOT_PATH.'includes/page_footer.php'); 


$clickstream "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator']; 
$clickstream .= $main_template


//--- Print Out --------------------------------------- 
$site_template->register_vars(array( 
  "msg" => $msg
  "clickstream" => $clickstream 
)); 
  
  $site_template
->print_template($site_template->parse_template($main_template)); 
  include(ROOT_PATH.'includes/page_footer.php'); 

?>



Where xxxxx are, youre gonna replace with what you are gonna name your templatefile for this file.
Now create a new html file named what you put were xxxxx is. Put the html file in the template folder of the template your using. Now just edit the html file and wolia!

Hope you understand! This code is free to modify! If you come up with a cool add, please post!

13
Mods & Plugins (Requests & Discussions) / [Request] User images in profile
« on: September 29, 2006, 11:09:54 AM »
I want to show the users images in the users profile. Iam not very good at php, so i would like a step by step guid if someone knows how to do? It would be nice if all the pictures from the user was displayed.

14
Mods & Plugins (Requests & Discussions) / Re: [REQUEST] Page creator!
« on: September 29, 2006, 07:19:28 AM »
I did it my self!! Its my first working php script that i coded by my self! its not very much but i got it working! What i do is that i create a new php file with the code named like page_2.php then i switch out the template file, and make a new templatefile named page_2.html :D tell me if u want this script!

15
Mods & Plugins (Requests & Discussions) / [REQUEST] Page creator!
« on: September 28, 2006, 04:16:19 PM »
This may be the last time i ask. I need a page creator. A simple page creator with template files that lets me create a custom page from the admin panel and then edit it if i want. Or maybe just a php file that integrates the templatefile so if i just want a new page i create like custompage_124.tpl or something like that. I really really need this!

Pages: [1] 2