Home arrow Forum Latest posts of: pcjunkie
  Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2008, 01:56:11 AM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1] 2
1  Joomla Addon Discussion / Joomla Templates / Re: button image on: May 17, 2007, 01:59:49 AM
menu.png..
or menubg.png



2  Joomla Hacks / Joomla-SMF 1.1.x / Re: SMF & Joomla - What happened to template? on: May 16, 2007, 11:27:25 PM
SMF and Joomla will both have CSS conflicts.

You need to remove the SMF style.CSS elements that Joomla already uses such as

a.
a.link
a.active

button

font settings like

small
medium
big

and some framesettings like tborder font-style: ##em ##px....if they exists

 





3  General Discussion / Freelance Work / Re: "Request" chart Component. on: May 15, 2007, 05:47:37 AM
You could also try generic Joomla DB queries and forms...

IE use a forms builder component to add the data. Use DB table to pull and display it...

If you can't do that, try using modules to display an XSL sheet...

Better Yet Have you tried Jinzora?

http://www.jinzora.org/



4  General Discussion / Freelance Work / Re: [HIRING] smf bridge, wrapper. $$ on: May 15, 2007, 05:44:57 AM
Don't waste your dosh...

Take a look at the template I made and work out what I did. Once you understand it, try it yourself.....

http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,3781.0
5  General Discussion / Help & Tips / Re: Need help with template on: May 15, 2007, 05:40:59 AM
background jpg.?

Try right clicking or install Firefox with developer toolbar, the select outline current element and it will tell you what is what...
6  General Discussion / Freelance Work / Re: Challenge for Joomla! mod/component writers :) on: May 15, 2007, 05:25:36 AM
No,

Vwar is the best, period!

There are several CMS (Clan Management Systems..lol) that are still starting up but none of them come close...

Vwar has almost frozen in terms of development so I guess a full clone and port like PHPnuke clans did would be a welcome addition. If anyone can code php Knock yourself out....You would need to ask the Vwar team first though..

But I dare say that Buster would mostly welcome the input...

Imagine Vwar as a fully installable Component with CB members management and
the like...
7  Joomla Addon Discussion / Joomla Templates / Re: css borders not working on: May 03, 2007, 01:35:12 AM
I havn't looked but somewhere in there there might be border: 0; or border: none; declared on the content section or the module section.

Also
try this...

border: 1px solid #fff;

To add shadow.

border: 1 px solid;
border-color: #fff #333 #333 #fff; 

works left to right...
8  Joomla Addon Discussion / Joomla Templates / Re: how do you code joomla templates on: May 03, 2007, 01:20:29 AM
Start with a CSS tutorial on how to slice a template graphic and make it work in HTML.

Then use the Joomla core code from another template to code in the features like modules and where the main content goes.

Then use the Core CSS <you can find these in any template> from another template to style how the Joomla part of the template (the output) is styled.

It's really not that hard.

9  Joomla Hacks / Joomla-SMF 1.1.x / Re: Joomla smf db intergration on: April 24, 2007, 10:21:31 AM
Ok make a back up of both.

Then
part 1
go to your SMF DB and select export.

Select all
Select save Structure. uncheck any under that.
Select save Data uncheck any under that.

Now export as a gzip. SQL cannot import ZIP or raw Text in one hit, only Gzip.

So that brings us to import into Joomla.

Open Joomla DB select Import.

You should have no problems..

Part 2 Managing users.

In mySQL: select the user for SMF and save it to the Joomla Account by using [ADD USER]. now Joomla DB should have both as access right enabled.

Part 3

Get you SMF config file (settings.php) and change the DB name to Joomla.

e.g
Code:
$db_server = 'localhost';
$db_name = 'smf44980_smf_1';
$db_user = 'smf44980_smf_1';
$db_passwd = 'XNIDY683DD';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;
to

Code:
$db_server = 'localhost';
$db_name = 'joom4980_joom1';<<<<<<<<<<<<
$db_user = 'smf44980_smf_1';
$db_passwd = 'XNIDY683DD';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

You should now have smf and Joomla in one table... Wink
10  Joomla Hacks / Joomla-SMF 1.1.x / Re: All the images of my SMF theme are framed by a blue line ! on: April 24, 2007, 09:48:48 AM
in your css
add

IMG {border: 0; }

It also looks like some CSS is conflicting between the 2.
Try adding this to SMF in the head section of index_template.php

Code:
if (!empty($_REQUEST['option'])){

echo '<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/smfstyle.css?fin11" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';

} else { echo '

<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?fin11" />'; }


What that does is checks to see if SMF is wrapped or not/

If it is it uses style.css if not it uses smfstyle.css
So what you need to do is create 2 css sheets.

One that has everything (smfstyle.css)
and one that has been srtipped of all a. elements. and main link styles (not the menu) and some more depending on Joomla.


This is a full template switch I use for Orstios bridge, I don't know if it works with Joomhacks.

The above code is included but is not relevent so much given that it's switched out anyway.
Code:

global $context, $settings, $options, $scripturl, $txt, $modSettings;
// check to see if the forum is running wrapped in Joomla or standalone...
if (empty($_REQUEST['option'])){   

// Show right to left and the character set for ease of translating.
echo '<!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"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
<meta name="robots" content="noindex" />', '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
var smf_charset = "', $context['character_set'], '";
// ]]></script>
<title>', $context['page_title'], '</title>';

// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
if (!empty($_REQUEST['option'])){

echo '<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/smfstyle.css?fin11" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';

} else { echo '

<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />
'; }

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' . $scripturl . '?board=' . $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

function shrinkHeader(mode)
{';

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>';

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = ', empty($options['collapse_header_ic']) ? 'false' : 'true', ';

function shrinkHeaderIC(mode)
{';

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "', $context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
</head>
<body >'; } // end of check if forum is wrapped
11  Joomla Hacks / Joomla-SMF 2.0.x / Re: Problems applying themes to Bridged forum. on: April 15, 2007, 06:45:42 PM
The CSS is missing from the forum.

If using wrapped you may need to add

Code:
<link rel="stylesheet" type="text/css" href="your smf url/ smf template dir/style.css?fin11" />

To Joomla before </head> and after <head><title>


12  Joomla Hacks / Joomla-SMF 1.1.x / Re: Difference in font sizes between IE and Firefox? on: August 12, 2006, 07:44:57 AM
Please use search

The fonts {etc} in the SMF CSS have to be merged with Joomlas CSS until all of the same class types (eg a.active, a.hover) are using 1 file only.

FF can ignore errors cus it's a top class browser but IE is a bucket of crap and belongs in a bin.
13  Joomla Hacks / Joomla-SMF 1.1.x / Change user status produces error on: August 09, 2006, 06:45:52 AM
After changeing the user status of account in Joomla and SMF, That user can no longer log in?

Changed ro moderator in SMF
(produced no errors but did not change status in Joomla - remained as registered.

After changing status to administrator in Joomla the account was rejected.

Password incorect... You are not authorised to view this recource.

How do I solve this? The password is the same, It hasnt changed or been changed?

Also some accounts you can't change, even as super admin.
It seems that you can't change the status from SMF.
and you can't change the status from Joomla. Iether your account gets screwed up and you can't log in at all... or you cannot change the account as It already exists, but all I tried to do was change the status from registered to author and link the JCE editor to that user.....

Also I found the user name is being dumped into joomla as an email account and not the user name.

Huh?
14  Joomla Hacks / Joomla-SMF 1.1.x / Re: Which bridge works ???? on: August 05, 2006, 11:09:47 PM
You need to upgrade SMF to 1.1 RC2

then install either bridge..

Both work ok but SMF's (oristos) bridge as lacking some features and SMF does not talk to Joomla....
15  Joomla Hacks / Joomla-SMF 1.1.x / Re: Login problem with CB on: August 05, 2006, 11:06:58 PM
Sounds like you used 2 different "non -matching" passwords.

try resetting your passwords

Quote
Go to your SQL table and reset the passwords on both accounts.

To do that find "users" in both SMF and Joomla

Select the account name.

Find the password and reset it by simply typing in a new password.

then select the MD5 hash key on the dropdown to your left of that field.

Select MD5

and save
.

Pages: [1] 2


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use