• Welcome to Simple Machines Community Forum. Please login or sign up.
November 29, 2021, 01:02:12 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


SMF Articles

Started by SMFHacks.com Team, September 04, 2008, 04:03:00 PM

Previous topic - Next topic

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bec

can someone please tell me how i import my tp articles? thanks for the quick updates vbgamer45, love your work!

vbgamer45

Go to the admin section of the articles. Then click on the import tab. Then click import tiny portal articles!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bec


Bec

just wondering if its possible to center the images for each category... or to move the actual title name over closer to the picture? You can see what I mean from the attached piccie  :)


Spudgun

Quote from: Bec on September 10, 2008, 12:29:12 AM
just wondering if its possible to center the images for each category... or to move the actual title name over closer to the picture? You can see what I mean from the attached piccie  :)

Images centred would be nice and give a better feel to the page. ;)

Spudgun

Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.

Nibogo

Quote from: Spudgun on September 20, 2008, 08:19:55 AM
Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.
Articles.template.php:

Find:

Quote<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>


Replace:
Quote<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

kpac

I keep getting an error when I try to import my TP acticles...

Table 'xxxxxx_smf1.smf_tp_articles' doesn't exist
File: /home/xxxxxx/public_html/forum/Sources/Articles.php
Line: 2461

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.6, while your database is at version 1.1.5. The above error might possibly go away if you execute the latest version of upgrade.php.


It is the latest version: 1.0.1.3.

Any ideas?

vbgamer45

It says they don't exist. What table do they exist in the tiny portal articles and are they in the same database?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

kpac

Yea, I know it means they don't exist... But why don't they? Is it not in the script to create them if they don't exist? Or do I have to create them manually?

Quote from: vbgamer45 on September 25, 2008, 07:44:40 PM
are they in the same database?

Yes, they are.

vbgamer45

That import option is meant only if you have created articles in Tiny Portal and wish to import them. If they don't exist it will not work.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

kpac

Quote from: vbgamer45 on September 26, 2008, 08:05:35 PM
That import option is meant only if you have created articles in Tiny Portal and wish to import them. If they don't exist it will not work.

Oh yes. :D Thank you.

Nice mod BTW.... ;)

AurielStone

This is an awesome mod. Any plans to update it for 2.0? I just upgraded and then discovered to my dismay that I could not reinstall the mod. Oh noes! ;D

vbgamer45

Yes in the coming weeks I will upgrade it to 2.0
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bec

Quote from: NIBOGO on September 24, 2008, 08:16:08 PM
Quote from: Spudgun on September 20, 2008, 08:19:55 AM
Does anyone know how to centre category images as talked about above?

Thanks for any help given...

Spudgun.
Articles.template.php:

Find:

Quote<td class="windowbg"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>


Replace:
Quote<td class="windowbg" align="center"><a href="', $scripturl, '?action=articles;cat=', $row['ID_CAT'], '"><img src="', $row['imageurl'], '" border="0" alt="" /></a></td>

hmmm tried the changes and got a parse error...  "syntax error, unexpected T_FUNCTION"


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bec


AurielStone


DistantJ

October 01, 2008, 06:09:23 PM #59 Last Edit: October 01, 2008, 06:17:44 PM by DistantJ
Can I set it so that I don't have to approve articles and comments? I want them to appear as soon as a user submits them.


I also wonder if maybe a Preview option could be added like when posting a topic?

Can we have the number of new articles displayed somewhere? Perhaps "Articles [2]" in the title bar or something? Otherwise you have an articles section which is quite separated from the forum...

Advertisement: