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.


Topics - mYrAn

Pages: [1]
1
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

2
How do i take away the rightclick disabling?

3
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.

4
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?

5
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!

6
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

7
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!

8
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.

9
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!

10
I want to know how to make the site to fit the window, i dont want to have to scroll in side-ways and if its possible not up-down. I want the site to stretch depending on the resolution you have. If someone could help me or do it for me?

11
Mods & Plugins (Requests & Discussions) / [Request] Custom Pages!
« on: September 03, 2006, 02:10:02 PM »
Iam in desperate need for a mod or something that allowes me to make Custom pages. What i mean is that i click a button ( for example ) and a box appear, in that box i wright what i want it to say in that Custom page, Simple html! When i click the Ok button it will give me an adress to that page and in that page the things i wrote in the box whould bee! So the  adress becomes something like www.mysite.com/page.php?id=*. It this impossible to achive? I really really need this! Its the perfect system for what i need and i would be grateful if someone could tell me this!

12
Mods & Plugins (Requests & Discussions) / Custom Pages?
« on: August 20, 2006, 03:55:53 PM »
Iam in desperate need for a mod or something that allowes me to make Custom pages. What i mean is that i click a button ( for example ) and a box appear, in that box i wright what i want it to say in that Custom page, when i click the Ok button it will give me an adress to that page and in that page the things i wrote in the box whould bee! It this impossible to achive? I really really need this! Its the perfect system for what i need and i would be grateful if someone could tell me this!

Pages: [1]