SimplePortal

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

Previous topic - Next topic

haito

#1620
1.     Execute Modification     ./index.php     Test failed
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Display.php    Test successful
4.    Execute Modification    ./Sources/Load.php    Test successful
5.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
6.    Execute Modification    ./Sources/Recent.php    Test successful
7.    Execute Modification    ./Sources/Subs.php    Test successful
8.    Execute Modification    ./Sources/Help.php    Test successful
9.    Execute Modification    ./Sources/ManageServer.php    Test successful
10.    Execute Modification    ./Themes/default/index.template.php    Test successful
11.    Execute Modification    ./Themes/default/Display.template.php    Test successful
12.    Execute Modification    ./Themes/default/languages/Who.english.php    Test successful
13.    Execute Modification    ./Themes/default/languages/Who.english-utf8.php    Skipping file

help  :( i wanna unninstall 2.05 and upgrade to 2.1
www.japanesia.co.id | Portal Berita & Komunitas Untuk Kamu yang Suka Jepang

fext

Quote from: Gadget.. on December 08, 2008, 10:38:58 PM
Well I got a button to show & work on my other themes if anyone is intrested:

After:
      // What about splitting it off the rest of the topic?
      if ($context['can_split'])
         echo '
                           <a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/split.gif" alt="' . $txt['smf251'] . '" border="0" />' : $txt['smf251']), '</a>';


I added:
// Make Article Button
      if ($context['can_make_article'])
         echo '
                           <a href="', $scripturl, '?sa=addarticle;message=', $context['topic_first_message'], '.0;at=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . 'addarticle.gif" alt="Make Article" border="0" />' : $txt['smf251']), '</a>';


& now the button works, it operates a little differently then the normal one installed on the default theme.  It brings you to the portal when adding an article (i dont mind) Rather then popping up like the other default one does...I think it has something to do with me missing the array in my code but w/e it works perfectly!!!  Of course you will need to add a button accordingly or it will show as text...  I hope this helps others as it did the job for me!!!~

Does not work for me at all - but my theme is not built with tables it is built tabless - pure CSS.

Also Where does the button show as I cannot see the placement of it on the portal OR on default theme?

fext

Found it - on the posts :P

Funny that your code works but the created code does not.

Gadget..

Quote from: Youngiiie on December 09, 2008, 07:46:07 AM
Found it - on the posts :P

Funny that your code works but the created code does not.

Lol, so it does work for you then?!  Sounds like it does & I am glad to hear so...& YEs I was a little surprised the button code the author supplied didn't work,...But I wanted that button makes it easier to quickly add threads to the portal without accessing the admincp... :D

But nonetheless I am just happy it is there now.. I am still very new to this editing..

Burke ♞ Knight

I hope you both realize, that the button code supplied, is for the Default theme.
95% of custom themes use a different coding, that makes it hard for mod makers to supply the correct codes for those themes. That is why the manual edits are needed, so people can MODIFY the code to fit the themes they are using.

speedfreak87

How do I use the POLL block?  I added it but no poll shows up, I even created a poll in one of the forums and it still didn't show.. correction, the block shows up, but the poll content does not.. what do I need to do?  ( I would have started my own thread but can't in here for some reason)..



taha116

Hi, im using 2.0 beta 4 and I am having a small issue with the top posters block.

I have disabled increase of post count in certain boards however people who post there still have their count increased in the block...
Why is that happening?

Ive just noticed someting... its not just the block its in genreal it apears to be happening at the profile so im gona check all my settings again, any suggestions while i do this?
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Burke ♞ Knight

Quote from: speedfreak87 on December 09, 2008, 12:37:46 PM
How do I use the POLL block?  I added it but no poll shows up, I even created a poll in one of the forums and it still didn't show.. correction, the block shows up, but the poll content does not.. what do I need to do?  ( I would have started my own thread but can't in here for some reason)..

You need to be sure to enter the poll ID into the area for it in editing the block. The poll ID is the same as the Topic ID.

bullbreedluverz

in my forum error log i keep getting this error message

8: Undefined index: ID_MSG
File: /home/bullbree/public_html/smf/Sources/SPortal1-1.php
Line: 278


any ideas how to iradicate this as im getting 20/30 pages of errors in a day

speedfreak87

Quote from: BurkeKnight on December 09, 2008, 02:16:29 PM
Quote from: speedfreak87 on December 09, 2008, 12:37:46 PM
How do I use the POLL block?  I added it but no poll shows up, I even created a poll in one of the forums and it still didn't show.. correction, the block shows up, but the poll content does not.. what do I need to do?  ( I would have started my own thread but can't in here for some reason)..

You need to be sure to enter the poll ID into the area for it in editing the block. The poll ID is the same as the Topic ID.

by ID, do you mean the URL?

Gadget..

#1630
Quote from: BurkeKnight on December 09, 2008, 09:09:00 AM
I hope you both realize, that the button code supplied, is for the Default theme.
95% of custom themes use a different coding, that makes it hard for mod makers to supply the correct codes for those themes. That is why the manual edits are needed, so people can MODIFY the code to fit the themes they are using.

Nope I did not know that & that kind of sucks for adding mods for nooßs because I dont think hardly anyone uses the default theme but I understand what you mean now, & thanks for letting me know,...


Burke ♞ Knight

Quote from: speedfreak87 on December 09, 2008, 10:31:59 PM
Quote from: BurkeKnight on December 09, 2008, 02:16:29 PM
Quote from: speedfreak87 on December 09, 2008, 12:37:46 PM
How do I use the POLL block?  I added it but no poll shows up, I even created a poll in one of the forums and it still didn't show.. correction, the block shows up, but the poll content does not.. what do I need to do?  ( I would have started my own thread but can't in here for some reason)..


You need to be sure to enter the poll ID into the area for it in editing the block. The poll ID is the same as the Topic ID.

by ID, do you mean the URL?

Say the topic you posted the poll in has it's url end like this:

index.php?topic=122.0

The poll ID would be 122

:)


[SiNaN]

haito:

Ignore the error and replace your files with the attached. Make you take a back-up though.

Also, while installing 2.1.1, you will get an error in index.php; ignore that too.

taha116:

It looks like a bug in SMF 2.0, as the post count of the member increases every time for me. I'll check it.

bullbreedluverz:

Which version are you using?

Gadget..:

Not much we can do. We, too, wish that all theme authors follow the SMF standard.
Former SMF Core Developer | My Mods | SimplePortal

fext

Quote from: Gadget.. on December 09, 2008, 08:43:34 AM
Quote from: Youngiiie on December 09, 2008, 07:46:07 AM
Found it - on the posts :P

Funny that your code works but the created code does not.

Lol, so it does work for you then?!  Sounds like it does & I am glad to hear so...& YEs I was a little surprised the button code the author supplied didn't work,...But I wanted that button makes it easier to quickly add threads to the portal without accessing the admincp... :D

But nonetheless I am just happy it is there now.. I am still very new to this editing..

Yeah it works and the permissions still work too - kudos on edting the code correctly - I'm a noob to PHP myself but I am learning - I use CSS and XHTML more as well as JS and AS.

I have my site setup to only use text instead of images in most places.

Quote from: BurkeKnight on December 09, 2008, 09:09:00 AM
I hope you both realize, that the button code supplied, is for the Default theme.
95% of custom themes use a different coding, that makes it hard for mod makers to supply the correct codes for those themes. That is why the manual edits are needed, so people can MODIFY the code to fit the themes they are using.

Yeah I know that :P I just was not sure where the button was meant to display - when reviewing the code after selecting which theme to enable Portal on I noticed the code was placed with the 'Pages' bit you see that falls under the Articles on the main Portal homepage - I was expecting it there.

As for installing mods on custom themes I find it a cool thing to do and lets you get your hands dirty but it sucks when for example you have a mod that uses tables and you have a theme that uses tableless - becomes more of a challenge but all good so far. I'll post my site up when I have finished setting it up if anyone is interested :)

Cheers for the advice bro :)

taha116

Blue Dream

Didn't fully understand your post did you mean that you have the same problem? Anyways id really like that fixed. Do you have any ideas on what i should do or maybe i may have conflicting settings in which case can you think of any settings that may conflict with the don't increase post count feature?
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Eliana Tamerin

Quote from: taha116 on December 10, 2008, 07:26:04 PM
Blue Dream

Didn't fully understand your post did you mean that you have the same problem? Anyways id really like that fixed. Do you have any ideas on what i should do or maybe i may have conflicting settings in which case can you think of any settings that may conflict with the don't increase post count feature?

Yeah, he said it's probably a bug.
Do NOT PM me for support.

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

haito

#1637
@blue dream..
how to add side bar at forum page?
no option in my SPadmin
www.japanesia.co.id | Portal Berita & Komunitas Untuk Kamu yang Suka Jepang

Bugpac ™

This may be a stupid question, but is 2.1.1 really new like in the last couple weeks? I have 2.0.4 should i upgrade it?

Jade Elizabeth

Quote from: Bugpac ™ on December 11, 2008, 08:25:21 AM
This may be a stupid question, but is 2.1.1 really new like in the last couple weeks?

Yes, it is the last announcement on the home site :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: