SMF Links

Started by SMFHacks.com Team, July 12, 2006, 12:33:28 AM

Previous topic - Next topic

paster_cobra

how do u show image..how big should it be ?

vbgamer45

Show an image for what? The a link? The only way for a link is to use bbc code in the description
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

paster_cobra

look at attach..the image i'm talking about is the cat image

niravdave

any category dump for this mod?

Dave

vbgamer45

Quote from: paster_cobra on January 09, 2007, 07:39:48 PM
look at attach..the image i'm talking about is the cat image
Category image is url based you need to enter the complete url for the image.

Quote from: niravdave on January 09, 2007, 07:43:05 PM
any category dump for this mod?

Dave
What do you mean?
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

paster_cobra

do i have to edit code.because i put the complete url in cat setup also how wide can image be

vbgamer45

Quote from: paster_cobra on January 09, 2007, 07:51:04 PM
do i have to edit code.because i put the complete url in cat setup also how wide can image be
No you do not need to edit the code for that.
Width there is no size limits. Just upload an image that is of good size so it looks good.
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

paster_cobra

finally its working thanks

niravdave

i mean to ask that if you use the the link directory like PHPlinkdirectory. You have the categories dump, so you dont have to manually feed the all the categories and subcategories.

Dave

vbgamer45

That is not built in and I do not understand how that would 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

Grayson

I've searched but can not find ...

I installed and it works wonderfully on the SMF Default theme.  I'm trying to use it on another theeme but the links do nor show up.

To apply to an alternate theme, does this have to be done manually?

I've tried several different ways but it never shows up.  I must be overlooking the obvious,  Anyone want to let me in on how to do this?

Thanks

vbgamer45

You want the links button or tab to appear on your theme?
You will need to edit index.template.php of the theme that you are using.
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

Grayson

The button appears now but an error loading 'main' template ???

vbgamer45

Can you post the index.template.php file that you modified.
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

Grayson

Basically just added the following:

Quote// the [Links] button
   if ($context['allow_view_smflinks'])
      echo '
            <a href="', $scripturl, '?action=links">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/links.gif" alt="' . $txt['smflinks_menu'] . '" style="margin: 2px 0;" border="0" />' : $txt['smflinks_menu']), '</a>', $context['menu_separator'];
      
   // the [contact] button
   if ($context['allow_view_contact'])
      echo '
            <a href="', $scripturl, '?action=contact">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/contact.gif" alt="' . $txt['smfcontact_contact'] . '" style="margin: 2px 0;" border="0" />' : $txt['smfcontact_contact']), '</a>', $context['menu_separator'];

Grayson

I have it working now.  Not sure what I did but re-copied some of the php files and all it working.  Now just have to edit the buttonm gifs to match.

Thanks you for your assistance.

fratellino

I have installed this MOD on SMF 1.1 with no problem, but I can see "links" link only on Default theme and I'm using the Classic Theme. How can I display the link in classic theme too?

Thanks for help.

vbgamer45

You will need to edit the index.template.php of the custom theme to include a link to the gallery
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

Farmacija

and if we use default theme but it other non-english language?
www.farmaceuti.com
www.farmaceuti.com/tekstovi

vbgamer45

non english you will have the copy the text strings from modifications.english.php to modificatoins.yourlanguage.php
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

Advertisement: