News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

psynx

yeah, there isn't 'uninstall' for old simple portal 2.0.4 in my package manager. just 'list files' and 'delete'

if i delete the files, it will messed up

KahneFan

You may want to look at the installation instructions for that package and work them in reverse to manually unsinstall the package then.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

psynx

perhaps that is the only choice i have right now.

this will take long but i will just try it

bullbreedluverz

#1743
could anyone help me out with removing SP 2.1 on 1.1.7 default theme (with a little bit of modifying of the theme but not major changes) - im having a complete nightmare with it as it wont clean install via package manager and leaves lots the edits in the files and ive tried to remove them manually but not getting anywhere with it and keep ending up with parse errors all the time

edit

ignore this as im gunna rip my forum apart and install clean files to remove the problems caused by the version of SP i have

Eliana Tamerin

#1744
I'm sorry, Gmans, but we don't allow SimplePortal to be distributed by 3rd parties. Simplemachines.org and Simpleportal.net are the only two sites that have permission to distribute the mod. That's why I removed your link.

You are welcome to share your Russian translation on SimplePortal.net. We have a Russian translator already, but perhaps Mavn needs some help. Feel free to make an account there and contact LHVWB or Jade for more information, or contact the current Russian translator, Mavn, to see if you can provide any assistance.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Gmans

#1745
But why you not to use the language files of this package for making the russian version? :)
You apropos designer in command does not need? :P
The most Beautiful avatar  ;)
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

Eliana Tamerin

Because we already have a Russian translator and Russian translation files for 2.0.5.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Gmans

heh  :-[

ok, verry nice , i will wait new russian versions , because SP really nice
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

Smoky "Rider" Blue

ok can someone look into my account on sp??

i was registered i know a few months back, but now im not.

i registered again, but put the wrong email addy..

i have a client that wants to use this portal, there is some errors in the log, no fix here on smf, but yet my umm membership isnt there on sp anymore.. any idea why?? drop me a pm please.
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

BOS4O

hi,
hot to add this code in one php block in the simple portal

this is the code for random images from the SMF Media Gallery

// Random items?
if(!empty($context['random_items'])) {
echo '
<div class="catbg item_heading">',$txt['mgallery_random_items'],'</div>
<div id="random_pics">
<ul id="pics">';
foreach($context['random_items'] as $i) {
echo '
<li class="windowbg smalltext">
<a href="',$galurl,'sa=viewitem;id=',$i['id'],'">',$i['item_title'],'</a><br />
<a href="',$galurl,'sa=viewitem;id=',$i['id'],'"><img alt="" src="',$galurl,'sa=getmedia;id=',$i['id_thumb'],'" /></a><br />
',$txt['mgallery_views'],' : ',$i['views'],'<br />
',$txt['mgallery_posted_by'],' : <a href="',$scripturl,'?action=profile;u=',$i['member_id'],'">',$i['member_name'],'</a><br />
',$txt['mgallery_in_album'],' : <a href="',$galurl,'sa=viewalbum;id=',$i['id_album'],'">',$i['album_name'],'</a>
',$i['is_new'] ? '<br /><img alt="" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" border="0" />' : '','
</li>';
}
echo '</ul>
</div>
<br style="clear: left;" />';
}


and these are the includes

global $context, $mgalSettings, $txt, $galurl, $galurl2, $scripturl, $settings;

when i try to add something like that

global $context, $mgalSettings, $txt, $galurl, $galurl2, $scripturl, $settings;
// Random items?
if(!empty($context['random_items'])) {
echo '
<div class="catbg item_heading">',$txt['mgallery_random_items'],'</div>
<div id="random_pics">
<ul id="pics">';
foreach($context['random_items'] as $i) {
echo '
<li class="windowbg smalltext">
<a href="',$galurl,'sa=viewitem;id=',$i['id'],'">',$i['item_title'],'</a><br />
<a href="',$galurl,'sa=viewitem;id=',$i['id'],'"><img alt="" src="',$galurl,'sa=getmedia;id=',$i['id_thumb'],'" /></a><br />
',$txt['mgallery_views'],' : ',$i['views'],'<br />
',$txt['mgallery_posted_by'],' : <a href="',$scripturl,'?action=profile;u=',$i['member_id'],'">',$i['member_name'],'</a><br />
',$txt['mgallery_in_album'],' : <a href="',$galurl,'sa=viewalbum;id=',$i['id_album'],'">',$i['album_name'],'</a>
',$i['is_new'] ? '<br /><img alt="" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" border="0" />' : '','
</li>';
}
echo '</ul>
</div>
<br style="clear: left;" />';
}
echo '
</div>';
?>


i cant see nothing in the S.Portal block  :(
this is my forum http://lfs-bg.net its on the last block

--------------------------

when making a new table for the smf gallery is tells me

Table 'bos4o_smf.smf_gallery_pic' doesn't exist
File: /www/hostrator.com/b/o/s/bos4o/htdocs/Sources/SPortal.php
Line: 1357

it needs to be bos4o_smf_gallery_pic how to fix it?
it tells me a error like that for the smf shop too
i need to remove the one smf from this here
bos4o_smf.smf_gallery_pic
how?  :(

bullbreedluverz

I had a lot problems with SP 2.1 and have had to completely strip my forum back and rebuild it as that was the onlyway i could get rid of SP 2.1 but i do like SP and want to install 2.1.1 and my question lies in that the database tables for 2.1 are still there, will this cause a problem if i try to install 2.1.1 or will the new version just use the same tables without any problems?

Eliana Tamerin

What problems did you encounter? Just saying "I had a lot of problems" doesn't help us pinpoint the cause and help you fix it.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

[SiNaN]

Quote from: bullbreedluverz on January 08, 2009, 11:48:38 AM
I had a lot problems with SP 2.1 and have had to completely strip my forum back and rebuild it as that was the onlyway i could get rid of SP 2.1 but i do like SP and want to install 2.1.1 and my question lies in that the database tables for 2.1 are still there, will this cause a problem if i try to install 2.1.1 or will the new version just use the same tables without any problems?

It is okay to have database tables there. You can install if files are fresh.
Former SMF Core Developer | My Mods | SimplePortal

bullbreedluverz

ive already fixed the problems - which basically was about 40 pages of errors a day

Warning: require_once(/home1/bullbree/public_html/smf/Sources/SPortal1-1.php) [function.require-once]: failed to open stream: No such file or directory in /home/bullbree/public_html/smf/index.php on line 62

Fatal error: require_once() [function.require]: Failed opening required '/home1/bullbree/public_html/smf/Sources/SPortal1-1.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bullbree/public_html/smf/index.php on line 62

line 62 is

require_once($sourcedir . '/SPortal1-1.php')


and was told to remove the 2.1 and upgrade but had a nightmare getting rid of it as it wouldnt clean install and i couldnt undo it with manual edits so basically ripped out the files and stuck clean 1s in place and got basically a clean install of SMF


*** but blue dream has just answered my question as im typing this lol cheers blue dream

bullbreedluverz

ok back with another problem, im getting an error on install on index.php

the mod replaces

// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}


with

// Action and board are both empty... SPortal!
if (empty($board) && empty($topic) && !empty($modSettings['portalactive']))
{
require_once($sourcedir . '/SPortal1-1.php');
return 'SPortal';
}
// Action and board are still both empty but no portal... BoardIndex
elseif (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}


but i have Hack's Park shoutbox and that is interupting the install as the code is changed

/ Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');

# Hack's Park //
require_once($sourcedir . '/HP_shoutBox_Subs.php');
HPSub_shoutBox_load('boardindex');
# // Hack's Park
return 'BoardIndex';
}


would it work to manual edit to this ?

// Action and board are both empty... SPortal!
      if (empty($board) && empty($topic) && !empty($modSettings['portalactive']))
      {
         require_once($sourcedir . '/SPortal1-1.php');
         return 'SPortal';
      }
      // Action and board are still both empty but no portal... BoardIndex
      elseif (empty($board) && empty($topic))
      {
         require_once($sourcedir . '/BoardIndex.php');

         # Hack's Park //
         require_once($sourcedir . '/HP_shoutBox_Subs.php');
         HPSub_shoutBox_load('boardindex');
         # // Hack's Park
         return 'BoardIndex';
      }

Eliana Tamerin

The final code you posted looks like it'll work. Back up your index.php and try it. If it doesn't work, you can always replace the index.php with the one you backed up.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

bullbreedluverz

cheers, just wanted to check the shoutbox code wouldnt interfere with SP code

lawlwhat

I'm having a problem where my article box displays lower than my blocks, and without the border. I'm using the morestyle theme (http://custom.simplemachines.org/themes/index.php?lemma=1000).

You can see an image of what I mean here: hxxp:i40.tinypic.com/t04ujc.jpg [nonactive]

As you can see, the article bit is lower down on the page than the other two blocks. I want it to be in line with them. How do I do that?

Gmans

Quote from: lawlwhat on January 08, 2009, 08:20:43 PM
I'm having a problem where my article box displays lower than my blocks, and without the border. I'm using the morestyle theme (http://custom.simplemachines.org/themes/index.php?lemma=1000).

You can see an image of what I mean here: http://i40.tinypic.com/t04ujc.jpg

As you can see, the article bit is lower down on the page than the other two blocks. I want it to be in line with them. How do I do that?

MMMM :) Nice theme
Maybe.... open forum/themes/default/ directory
If you forum Smf 2 version, open Sportal2.template.php in notepad and find this
  <table class="bordercolor" width="100%">
stroke 150
and replace
 <table cellspacing="0" class="bordercolor" width="100%">            
Smf 1.1.x 
In smf 1.1.x did not try, but think process not differs
Sorry ;) , my english bad
Можно по-русски! :Р
"Not so big the universe, as its source code ..." ^^

lawlwhat

Quote from: Gmans on January 09, 2009, 03:21:08 AM
MMMM :) Nice theme
Maybe.... open forum/themes/default/ directory
If you forum Smf 2 version, open Sportal2.template.php in notepad and find this
<table class="bordercolor" width="100%">
stroke 150
and replace
<table cellspacing="0" class="bordercolor" width="100%">            
Smf 1.1.x
In smf 1.1.x did not try, but think process not differs
Sorry ;) , my english bad

Thanks a lot, that fixed it!

Advertisement: