Please login or register.

Login with username, password and session length
Advanced search  


Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Pages: 1 ... 3 4 [5] 6 7 ... 10
 on: March 11, 2014, 10:49:51 PM 
Started by adminphp - Last post by adminphp
Hey keyrocks;

Thanks for your prompt reply; Yes I have modify it in the past so that It can compatibles with html5 and add other social websites like twitter. I understand by this code ('.$social_url.') that it has a big function her to generate url automatically without editing facebook code everyday and add the articles' links.

that's ok, But now the problem is simple as this: facebook "like" and "share" and twitter "like" button don't pick the right image for the article. how that occurs? Ok, that's a good question: you have 20 images on your site or lets take exactly just on your article, you place a like button on your site. You see others start to “like” your content but with the wrong image (I mean I see this in facebook page; people share the content but with the wrong Img that has nothing to do with the article).

so, To solve this problem there is an only one method to do so. currently, I know it works but for snews I don't know how to add the function in snews file; so that it will helps us to do the work.

alright; this code above is usually put inside the head Tag, and I beleive it does an excellent work, to force facebook to pick the right image. But, now the problem is that I have to edit my INDEX file everytime I want to share some post or like it  to be in facebook, I have to add the new image url, save, upload the file to the host, then everything is good.
Code: [Select]
<meta property="og:image" content="<URL_TO_YOUR_IMAGE>" />at the current time, when need some thing like $image_url = db('website').upload/'.$r['articleImage'].'/';
so we can have meta like this:
<meta property="og:image" content="'.$image_url.'" />[/code]
this should not work only with Uploaded images, but also images that is outside. I beleive to do so, we should create a new field in "create new article" page; to be easy to put image url for the article. sorry keyrocks alot, If i talked to much, Hhh, it's something like "I know what to do, but i don't know how". thanks In advance.

 on: March 11, 2014, 05:14:32 PM 
Started by adminphp - Last post by Keyrocks
Hi phpadmin:
Interesting that you would ask about this. About 4 years ago I posted a Facebook LIKE mod for both 1.6 and 1.7 ... and you had replied to the 1.6 thread on August 29, 2010.  8)

Check it out if have not done so yet. Perhaps you can modify it to display it as you like.
Facebook "Like" link - all sNews 1.6 versions
Facebook "Like" link - all sNews 1.7 versions

Facebook Developers Information on How to add a Like link.
Facebook Developers Information on How to add a Share link or button.

 on: March 11, 2014, 05:02:37 PM 
Started by Launchr - Last post by Keyrocks
Sounds interesting Patrick.
Your offer will need to be considered by the current owner of sNews - perhaps he will see your post and respond accordingly.
BTW - who is Bernhard Welzel, owner of the domain?

 on: March 11, 2014, 12:57:01 PM 
Started by Launchr - Last post by Launchr
Hi Guys, :)

this probably doesn't belong into this subforum, but it was the most suitable one and I didn't want to spam any other folders, so I'm gonna try it here :).

My name is Patrick and I work for and with the community We are a fairly young community who offer an easy way of testing, demonstrating and evaluating open source web applications. I tried contacting you before via the contact form on your website, but you didn't respond. SO, im gonna try and get on your nerves like this ;).

Anyway, I would like to introduce you to Launchr with the hope of raising your interest in participating in our community program.

As mentioned above, Launchr was created to offer an easy way of testing, demonstrating and evaluating open source web applications.

This can be especially interesting for community projects like yours, since it offers existing and new users the opportunity to easily access an individual demo installation without any kind of technical know how, hosting, installation or setup required. Launchr can remove any kind of entry barrier for new users and we are hoping that this will aid you in growing your own community.

By setting up an individual installation in less than a minute, users will be able to try out new releases or use a sandbox installation to test new features, extensions or configurations without any hassle.

Since we firmly believe in the concept of open source software and feel strongly about encouraging such communities, we have created a community program allowing you to use Launchr for free and get you started with a initial setup of Anchor CMS.

If you'd like to learn more about the community program and/or join or have any other questions regarding our services, please feel free to contact me via email or Skype (p.tipping).

Cheers and have a nice day,

Patrick Tipping

 on: March 11, 2014, 12:34:25 PM 
Started by adminphp - Last post by adminphp
Hey everyone;

I hope you are fine; Ok, my website works snews 1.6 since 2008 and it a very excellent cms and light. ok; my question is simple; I want to have share/like box for articles.

Is it possible to have a box like/share of facebook and twitter and other social websites. I stress on, that the bar should include sharer button and like one. and  i have tried to create some addons for this issue, But there are some problems concerning my cms. for instance, facebook don't pick up the right image, Actually never did. I guess we should have some meta tags for image and article and description.

 on: March 10, 2014, 05:37:14 AM 
Started by hy - Last post by nukpana
2nd question: I am looking for a forum with php-topics. Once I registered at a forum that unfortunately is not really crowded.
Stack Overflow

 on: March 09, 2014, 05:07:10 PM 
Started by hy - Last post by Keyrocks
Kudos to Skian for sharing his work-around.
I am practically clue-less when it comes to .htaccess modifications.  :P

 on: March 08, 2014, 07:43:03 PM 
Started by hy - Last post by hy
Hi skian,
I needed an additional line after your line to make it work as I wanted:
Code: [Select]
RewriteRule ^(.*) $1 [L]
thanks again

 on: March 08, 2014, 06:54:04 PM 
Started by hy - Last post by hy
thanks skian. this is a great answer. I was just about to digging into the apache manuals.

 on: March 08, 2014, 06:49:43 PM 
Started by hy - Last post by skian
I ran into that problem a few years ago. Still not fixed.


Here is a workaround. Modify .htaccess and add the first condition check

Code: [Select]
RewriteCond %{REQUEST_FILENAME} !\.(gif|jpe?g|s?html|css|js|cgi|png|ico|txt)$
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?category=$1 [L]

Pages: 1 ... 3 4 [5] 6 7 ... 10