|
Mika
|
 |
« Reply #15 on: October 27, 2006, 09:53:18 PM » |
|
please paste the code around this file_include(str_replace('[break]', '', $text), $shorten);" and tell me have you done some other modifications to the article displaying routine in function center() btw, as you have already seen, I have no problems with it
|
|
|
|
|
Logged
|
|
|
|
|
iatbm
|
 |
« Reply #16 on: October 27, 2006, 10:06:32 PM » |
|
Did not make any modification to snews.php file yet ... this is the first one but not working ... yes I saw it working on your site earlier ... guess images are the problem
|
|
|
|
|
Logged
|
|
|
|
|
Mika
|
 |
« Reply #17 on: October 27, 2006, 10:20:20 PM » |
|
your htacess maybe?
|
|
|
|
|
Logged
|
|
|
|
|
iatbm
|
 |
« Reply #18 on: October 27, 2006, 10:25:02 PM » |
|
htacces is default that came with snews .... .... I inserted function soc_bookmark above function center and lang into language variables and echo ' '.l('soc_bookmark').': '; soc_bookmark(db('website').$category.'/'.$r['seftitle'].'/', $r['title'], 'Y'); echo ' '; above file_include(str_replace('[break]', '', $text), $shorten);"
|
|
|
|
|
Logged
|
|
|
|
|
Mika
|
 |
« Reply #19 on: October 27, 2006, 10:56:58 PM » |
|
btw, mine is below center() but i dont think thats the problem
|
|
|
|
|
Logged
|
|
|
|
|
iatbm
|
 |
« Reply #20 on: October 27, 2006, 11:03:23 PM » |
|
hmm ... have you tried this mod with images ?
|
|
|
|
|
Logged
|
|
|
|
|
Mika
|
 |
« Reply #21 on: October 27, 2006, 11:07:48 PM » |
|
yes, and found no problem - I've put them all ... omg that looks like an overkill when you set them all to appear 
|
|
|
|
|
Logged
|
|
|
|
|
iatbm
|
 |
« Reply #22 on: October 27, 2006, 11:15:30 PM » |
|
hmm ... some problems appear .. when I try to access some file in icons directory there is also snews error which should not be there I think ... I changed the folder to icons1 and now it works ... strange very strange hehe
|
|
|
|
|
Logged
|
|
|
|
burtrito
Newbie
Karma: 0
Posts: 3
|
 |
« Reply #23 on: November 02, 2006, 04:29:53 AM » |
|
I made some small changes to get this working on snews 1.4: The 1.5 mod above uses the following code in the center function: echo ' '.l('soc_bookmark').': '; soc_bookmark(db('website').$category.'/'.$r['seftitle'].'/', $r['title'], 'Y'); echo ' '; If you have 1.4, use the below in the center function: echo ' '.l('soc_bookmark').': '; soc_bookmark($s .s('website').$category.'/'.$r['seftitle'].'/', $r['title'], 'Y'); echo ' '; I added mine below if ($category <> s('home')) { $category = $category. "/"; } I also had to alter the filenames of the icons to include an Uppercase first letter. e.g: Digg.jpg instead of digg.jpg (MyWeb.jpg and BlogMarks.jpg require two case changes) Use the rest of Mika's code as instructed.
|
|
|
|
|
Logged
|
|
|
|
haelen
Jr. Member

Karma: 0
Posts: 62
|
 |
« Reply #24 on: November 16, 2006, 10:01:27 AM » |
|
This works fine for me *apart* from the fact that the 'icons' folder is not detected. Has anyone else experienced this. (I did try changing the directory name, as someone else did, but to no avail.)
Tim
|
|
|
|
|
Logged
|
|
|
|
hrih
Newbie
Karma: 0
Posts: 3
|
 |
« Reply #25 on: November 17, 2006, 10:18:40 PM » |
|
Make sure that your icon names are all in small case letters
'blinkbits'=> instead of 'BlinkBits'=>
|
|
|
|
|
Logged
|
|
|
|
haelen
Jr. Member

Karma: 0
Posts: 62
|
 |
« Reply #26 on: November 17, 2006, 10:36:48 PM » |
|
They are! 
|
|
|
|
|
Logged
|
|
|
|
hrih
Newbie
Karma: 0
Posts: 3
|
 |
« Reply #27 on: November 17, 2006, 11:10:12 PM » |
|
simply correct the code 'blinkbits'=>' http://www.blinkbits.com/bookmarklets/save.php?v=1&source_url='.$link.'&title='.$title, 'blogmarks'=>' http://blogmarks.net/my/new.php?mini=1&simple=1&url='.$link.'&title='.$title, 'del.icio.us'=>' http://del.icio.us/post?v=2&url='.$link.'&title='.$title, 'digg'=>' http://digg.com/submit?phase=2&url='.$link.'&title='.$title, 'fark'=>' http://cgi.fark.com/cgi/fark/edit.pl?new_url='.$link.'&title='.$title, 'furl'=>' http://www.furl.net/storeIt.jsp?t='.$title.'&u='.$link, 'google'=>' http://www.google.com/bookmarks/mark?op=add&bkmk='.$link.'&title='.$title, 'ma.gnolia'=>' http://ma.gnolia.com/bookmarklet/add?url='.$link.'&title='.$title, 'myweb'=>' http://myweb2.search.yahoo.com/myresults/bookmarklet?t='.$title.'&u='.$link, 'netscape'=>' http://www.netscape.com/submit/?U='.$link.'&T='.$title, 'netvouz'=>' http://netvouz.com/action/submitBookmark?url='.$link.'&title='.$title, 'newsvine'=>' http://www.newsvine.com/_tools/seed&save?u='.$link.'&h='.$title, 'rawsugar'=>' http://www.rawsugar.com/pages/tagger.faces?turl='.$link.'&tttl='.$title, 'reddit'=>' http://reddit.com/submit?url='.$link.'&title='.$title, 'scuttle'=>' http://www.scuttle.org/bookmarks.php/maxpower?action=add&address='.$link.'&description='.$title, 'shadows'=>' http://www.shadows.com/features/tcr.htm?url='.$link.'&title='.$title, 'simpy'=>' http://simpy.com/simpy/LinkAdd.do?title='.$title.'&href='.$link, 'slashdot'=>' http://slashdot.org/bookmark.pl?url='.$link.'&title='.$title, 'spurl'=>' http://www.spurl.net/spurl.php?url='.$link.'&title='.$title, 'technorati'=>' http://technorati.com/faves?add='.$link.'&title='.$title, 'wists'=>' http://wists.com/r.php?c=&r='.$link.'&title='.$title,
|
|
|
|
|
Logged
|
|
|
|
|
iatbm
|
 |
« Reply #28 on: November 18, 2006, 12:09:27 AM » |
|
This works fine for me *apart* from the fact that the 'icons' folder is not detected. Has anyone else experienced this. (I did try changing the directory name, as someone else did, but to no avail.)
Tim hi I feel your pain  .... it seems that /icons/ folder is used by default server icons so you just make new folder icons1 or whatever and put icons there  .... oh and check out almost every website on the internet has /icons/ folder already there  .... solucija has it too http://www.solucija.com/icons/
|
|
|
|
|
Logged
|
|
|
|
haelen
Jr. Member

Karma: 0
Posts: 62
|
 |
« Reply #29 on: November 18, 2006, 09:00:55 AM » |
|
simply correct the code This works perfectly now. (As long as I keep the directory name changed!) Thanks again, Tim 
|
|
|
|
|
Logged
|
|
|
|
|