2871
m0nty
Re: problem installing ipb module
  • 2003/12/19 14:29

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


got this same problem again...

run the query u gave above.. now i get this error >

Installing Message Board

Duplicate entry '0' for key 1

Unable to install ipboard. Error(s):

any ideas?



2872
m0nty
Re: Module required (shud be easy to some1 who knows)
  • 2003/12/19 1:48

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


if you're interested in what i've done in the meantime till i can get hold of a module..

then try this code..

create a custom block in admin blocks..

paste this >

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript">
<!--
function go(theURL) {
window.open(theURL,'popup','scrollbars=yes,resizable=no,width=640,height=480');
}
//-->
</script>
<table width="150" height="50" cellspacing="0" cellpadding="0" border="0" bgcolor="#666666">
<td width="100%" valign="top"><img src="http://www.yourdomain.com/<path to block image file>" width="100%" height="50">
</table>

</head>
<body>
<table width="150" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="150" bgcolor="#666666"><form>
<select name="profile" size="1" onChange=go(this.form.profile.options[this.form.profile.selectedIndex].value)>

<option>Select a DJ Below</option>
<option>---------------------------</option>
<option value="http://www.yourdomain.com/djprofiles/andyfarley.htm">Andy Farley</option>

</select>
</form>
</td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>

then set permissions for the block.. set the block to left column or right column and change the table widths and colours to suit your needs..

basically create a folder on your server called djprofiles or somethin similar..

create your dj profile as an html page and save it (and any image you have on it) to the new folder you just created..

make sure you edit the urls in the script above.. yourdomain needs to be your domain name and enter the url path of the djprofile folder where u located the html..

enter each profile html in the <option value="http://...." part. you can add and delete simply by removing each profiles option value by going back to edit the custom block..

I know it's a crude way of doing it and there is probly better methods, but it's 1 way of doing it..



2873
m0nty
changing date format in tinyevent?
  • 2003/12/13 20:45

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


does anybody know how i can change the date format that's displayed in TinyEvent Calaendar so that it displays as:

dd/mm/yyyy instead of yyyy/mm/dd

also i'd like to get rid of the 2nd date function & replace that with just an end time!

ie i want it for a club event and these usually start 1 night and finish the next morning..

so instead of having the date1 ....... time ....
then the input date2 ...... time ....

i just want the date2 to be time only

and get rid of the repeat function

can anybody help with his?



2874
m0nty
Module required (shud be easy to some1 who knows)
  • 2003/12/11 3:00

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


I'm after a module basically to provide DJ Profiles..

this doesn't have to have user submissions.. as it wud be admin only who submit the content.

basically an admin section which allows us to submit information..

the fields required would be:

Image (can be limited size ie. 400x400 max)
Artist Name
Genre
Residencies (needs to be an unlimited input form, possibly popup window upon clicking)
BIO (also an unlimited input form, possibly popup window upon clicking)
Discography (also unlimited input form, possibly popup window upon clicking)
website (url)
Diary (unlimited input, possibly popup window upon clicking)
Interviews (unlimited, possibly popup window upon clicking)

i know just giving field names isn't much etc.. but if anyone can manage to make this module i can probly do a quick diagram of layout and field positions etc which is displayed..

i'm willing to pay for this if need be




2875
m0nty
Re: Making Freecontent your homepage
  • 2003/12/11 2:41

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i gather you've saved your html page in the modules/freecontent/content folder?

how i've set mine up is as follows:

1. upload html page to content folder
2. make the freecontent block invisible.
3. in admin/freecontent/admin create your connection by giving it a title and the path (not url this has to be the path ie. modules/freecontent/content/tutorial.html) of the connection..

tick the box that says hidden...

then click the add connection button..

now you should see the connection up top, in the 1st column is the Link ID make a note of the id of the connection u want for your homepage..

Now goto your modules/freecontent folder and open up config.php

edit the part that says: $fc_start_id = 1;

change the 1 to the link id of your page..

turn on xhtml compliance if need be..

u may need to goto modules and update the freecontent module, i can't remember whether i did or not..

4. Now goto the XOOPS admin/preferences/General settings and change the start page to freecontent..

now when u click the home button it shud show the page u want..

hope this is useful for you..



2876
m0nty
Re: freeContent in Top Page
  • 2003/12/8 0:59

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


thanks jack.. i think i'll have to download tinycontent then..

i tried it by creatin a custom block b4, but it don't look right with the border round it and stuff that the block gives u..



2877
m0nty
Re: IPB Mod help please?
  • 2003/12/8 0:55

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i was wonderin if any1 knows how to sort the left column out when usin ipb?

it seems to change the text and stuff in the left column to the forum style instead of the XOOPS theme style..

also if i remove all the blocks from the left column and don't make them visible on the ipboard.. then the left column still appears but is completely blank..

any ideas how to get rid of the left column so the forum shows full screen?

to see what i'm sayin go here >http://www.clubithard.com/main/modules/ipboard/

i can't get the left column to dis-appear at all..



2878
m0nty
freeContent in Top Page
  • 2003/12/8 0:32

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


how can i show a file from FreeContent on the homepage?

ie..

i want thishttp://www.clubithard.com/main/modules/freecontent/index.php?id=3

to appear on the Top Page, instead of having the link there from the freecontent module!

my start page ishttp://www.clubithard.com/main/



2879
m0nty
Xoops display help needed
  • 2003/11/28 18:34

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i created a site but it has fixed width flash header and a fixed width banner section optimized at 1024x768 res.. is there a way of getting XOOPS to detect the users screen size and then load a different image up for the header? etc

or i cud create a enter site page on the index.html file that users can click on if they have 1024 res or 800 res screens.. but the problem is how can i get XOOPS theme to load up an 800 width image for an 800 selection and load up a 1024 img for that selection?

i know there's the width command but with using flash it isn't possible and using a tile image is out of the question..



2880
m0nty
Re: Problem with stylesheet or theme.html?
  • 2003/11/19 22:13

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


well here's the source from theme.html

Well I can see the problem on screen, but I dunno how to actually solve it.. the main problem i am having is the header is overlayed and designed for 800x600 resolution, so i had to add an extra piece to the right hand side..

also same prob with the banner section to an extent altho that is easier to fix..

what i actually want is it all to fit on the screen perfectly.. 800x600 resolution and to automatically expand if viewed on larger resolutions, i'm sure it's to do with the width="100%" command, but i'm not sure on the colspan etc.. i don't want it so that users have to scroll horizontally to view the right hand side..

-----------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>"

lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="www.iaols.com" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('<{$xoops_imageurl}>butt_link_1.gif')">
<tr id="header">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td height="8" colspan="25" valign="top"><img src="<{$xoops_imageurl}>MAINHEADER_r1_c1.jpg"

width="100%" height="8"></td>
</tr>

<td height="78" width="17" valign="top"><img src="<{$xoops_imageurl}>MAINHEADER_r2_c1.jpg"

width="17" height="78"></td>
<td colspan="3" valign="top"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"

width="132" height="78">
<param name="movie" value="<{$xoops_imageurl}>topright.swf">
<param name="quality" value="high">
<embed src="<{$xoops_imageurl}>topright.swf" quality="high"

pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"

width="132" height="78"></embed></object></td>
<td colspan="14" valign="top"><img src="<{$xoops_imageurl}>MAINHEADER_r2_c4.jpg" width="620"

height="78"></td>
<td width="100%" valign="top" background="<{$xoops_imageurl}>header_right.jpg" width="100%"

align="center" height="78"><br><br>Today is: <br>
<script type="text/javascript">
<!-- // Array ofmonth Names
var monthNames = new Array(

"January","February","March","April","May","June","July","August","September","October","November","December"

);
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " + thisYear);
// --></script></td>
<td width="27" valign="top"><img src="<{$xoops_imageurl}>header_right.jpg" width="27" height="78"></td>
</tr>
</table>
<! --------------------------- buttons -------------------------------- >
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<td width="100%" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg"

width="100%" height="18"></td>
<td width="14" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg" width="14"

height="18"></td>
<td width="93" valign="top"><a href="http://clubithard.mail.everyone.net/"

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('E-Mail','','<{$xoops_imageurl}>butt_link_1.gif',1)"><img

src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" width="93" height="18" alt="E-Mail" border="0"

name="E-Mail"></a></td>
<td width="14" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg" width="14"

height="18"></td>
<td width="93" valign="top"><a href="<{$xoops_url}>/" onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Home','','<{$xoops_imageurl}>butt_link_1.gif',1)"><img

src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Homel" name="Home" width="93" height="18"

border="0"></a></td>
<td width="14" rowspan="2" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg"

width="14" height="18"></td>
<td width="93" valign="top"><a href="<{$xoops_url}>/modules/news/"

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('News','','<{$xoops_imageurl}>butt_link_1.gif',1)"><img

src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="News" name="News" width="93" height="18"

border="0" id="Image71"></a></td>
<td width="14" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg" width="14"

height="18"></td>
<td width="93" valign="top"><a href="<{$xoops_url}>/modules/ipboard/"

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Forum','','<{$xoops_imageurl}>butt_link_1.gif',1)"><img

src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Forum" name="Forum" width="93"

height="18" border="0" id="Image72"></a></td>
<td width="14" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg" width="14"

height="18"></td>
<td width="93" valign="top"><a href="<{$xoops_url}>/modules/4images/"

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Gallery','','<{$xoops_imageurl}>butt_link_1.gif',1)"><img

src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Gallery" name="Gallery" width="93"

height="18" border="0" id="Image73"></a></td>
<td width="14" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg" width="14"

height="18"></td>
<td width="93" valign="top"><a href="<{$xoops_url}>/modules/mylinks/"

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Links','','<{$xoops_imageurl}>butt_link_1.gif',1)"><img

src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Links" name="Links" width="93" height="18"

border="0" id="Image74"></a></td>
<td width="14" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c1.jpg" width="14"

height="18"></td>
<td width="115" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" width="115"

height="18"></td>
<td width="49" valign="top"><img src="<{$xoops_imageurl}>table_head_bg_merge_r1_c3.jpg" width="49"

height="18"></td>
</tr>
</table>

<! ------------------------------Banner----------------------------->


<table border="0" width="100%" cellspacing="0" height="70" cellpadding="0">
<tr>
<td width="26"><img src="<{$xoops_imageurl}>bannertotal_left1.jpg" width="26" height="70"></td>
<td width="240" background="<{$xoops_imageurl}>bannertotal_left.jpg"><center><img

src="<{$xoops_imageurl}>bannertotal_left.jpg" width="240"></td>

<td id="headerbanner" width="100%" background="<{$xoops_imageurl}>bannercenterbg.gif"

align="center"><{$xoops_banner}></td>
<td width="240" background="<{$xoops_imageurl}>bannertotal_right.jpg"><center><img

src="<{$xoops_imageurl}>bannertotal_right.jpg" width="240"></td>
<td width="26"><img src="<{$xoops_imageurl}>bannertotal_right1.jpg" width="26" height="70"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" height="23" cellpadding="0">
<tr>
<td width="100%"><img src="<{$xoops_imageurl}>tiler2.jpg" width="100%" height="23"></td>
</tr>
</table>
<table cellspacing="0">
<tr>
<td id="leftcolumn">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file="iaolsICE/theme_blockleft.html"}>
<{/foreach}>
<!-- End left blocks loop -->

</td>

<td id="centercolumn">

<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>

<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="iaolsICE/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td id="centerLcolumn">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="iaolsICE/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->

</td><td id="centerRcolumn">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="iaolsICE/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->

<div id="content">
<{$xoops_contents}>
</div>
</td>

<{if $xoops_showrblock == 1}>

<td id="rightcolumn">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<{include file="iaolsICE/theme_blockright.html"}>
<{/foreach}>
<!-- End right blocks loop -->
</td>

<{/if}>

</tr>
</table>

<table cellspacing="0">
<tr id="footerbar">
<td><p>
<a href="http://www.clubithard.com/main/"><font color="#33C
C33">©Copyright 2003 Clubithard.com</a></p>
</td>
</tr>
</table>
</body>
</html>




TopTop
« 1 ... 285 286 287 (288) 289 »



Login

Who's Online

267 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 267


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits