Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 251
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 130
Total: 130

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - fatdaddy

Pages: [1] 2 3
1
Modifications Talk / Staff page
« on: January 07, 2015, 06:32:27 am »
I would like to show staff Facebook link as contact details on the staff list.
Can it be done ?


2
Latest Mods / Re: Tagging system
« on: January 04, 2015, 03:38:39 am »
thanks.
if I click the tag in your tag cloud (which does bring up the relevant topic link)
Code: [Select]
http://dsdglobalsupport.com/index.php?action=tags;tagid=99
if i click the same tag in the portal block (which just takes me to your tag page
Code: [Select]
http://dsdglobalsupport.com/index.php?action=tags;id=99
hmm, I see the difference now !

Is there something I can change ?

edit: Yeh, you already pointed me where to look  :) thanks it works fine now  8)

3
Latest Mods / Tagging system
« on: January 03, 2015, 05:11:15 am »
Hi.
I have this installed and working on a 2.0.9 board.
I also have Tiny Portal.
I have a block that shows all the tags and reflects them in Alphabetical order as my main Tags page. The block responds to text size changes as I request.
The one thing I can't do is make the individual links in the block go to the individual tag, no matter which tag is clicked in the portal block you are taken to the main tag cloud and list of latest tags.
No one on the TP site can help.......................can you ?

thanks

Code: [Select]
global $scripturl, $smcFunc;

$result = $smcFunc['db_query']('', '
SELECT t.tag AS tag, l.id_tag, COUNT(l.id_tag) AS quantity
FROM {db_prefix}tags as t, {db_prefix}tags_log as l WHERE t.id_tag= l.id_tag
GROUP BY l.id_tag
ORDER BY t.tag LIMIT {int:limit}',
array('limit' => 100)
);

$tags = array();
$tags2 = array();

while ($row = $smcFunc['db_fetch_assoc']($result))
{
$tags[$row['tag']] = $row['quantity'];
$tags2[$row['tag']] = $row['id_tag'];
}

$smcFunc['db_free_result']($result);

if(count($tags2) > 0)
{
// change these font sizes if you will
$max_size = 100; // max font size in %
$min_size = 100; // min font size in %

// get the largest and smallest array values
$max_qty = max(array_values($tags));
$min_qty = min(array_values($tags));

// find the range of values
$spread = $max_qty - $min_qty;
if (0 == $spread)
{ // we don't want to divide by zero
$spread = 1;
}

// determine the font-size increment
// this is the increase per tag quantity (times used)
$step = ($max_size - $min_size)/($spread);

// loop through our tag array
$poptags = '';
$row_count = 1;
foreach ($tags as $key => $value)
{
$row_count++;
// calculate CSS font-size
// find the $value in excess of $min_qty
// multiply by the font-size increment ($size)
// and add the $min_size set above
$size = $min_size + (($value - $min_qty) * $step);
// uncomment if you want sizes in whole %:
// $size = ceil($size);

// you'll need to put the link destination in place of the #
// (assuming your tag links to some sort of details page)
$poptags .= '<a href="' . $scripturl . '?action=tags;id=' . $tags2[$key] . '" style="font-size: '.$size.'%"';
// perhaps adjust this title attribute for the things that are tagged
$poptags .= ' title="'.$value.' things tagged with '.$key.'"';
$poptags .= '>'.$key.'</a> ';
               
if ($row_count > 1)
{
$poptags .= '<br />';
$row_count =1;
}
}
}
echo  $poptags;

4
Support / Re: Invalid value inserted or no type specified.
« on: June 03, 2014, 08:08:12 am »
Thanks.  :) I'll have a go at display.template later.

5
Support / Re: Invalid value inserted or no type specified.
« on: June 02, 2014, 07:05:02 am »
Is the 2.0beta1 coded for 2.0.7 ? I can't work out why the theme I have seleted looks so different to the parsed package ?

As I want to run ads indside posts etc I need to mod the whole theme not just index.template.

With SMF default template all is working as it should with the beta  :)

6
Support / Re: Invalid value inserted or no type specified.
« on: May 30, 2014, 05:37:52 am »
right........ so far so good :)

I have added Gallery Pro again and Adsense Ads are showing as they should.

Could I ask you to mod this template please. I have tried to do it with the parser but the codes don't seem to match ?
I am using your 2.0beta1


7
Support / Re: Invalid value inserted or no type specified.
« on: May 28, 2014, 05:17:32 am »
Right.

Full fresh install 2.0.7 and 1.0.15a. (using existing dB)

Just sticking with the Adsense codes.

Ad at overall header works perfect. Overall footer works

Not showing after posts or between categories.

uklows.com/forum.

I will wait for 24hrs to see what happens before asking you to do anything.
 

8
Support / Re: Invalid value inserted or no type specified.
« on: May 28, 2014, 04:11:32 am »
no change.

I want to be sure I am not wasting your time. There are a lot of uninstalled mods in my forum so I am going to do a fresh install  with just AD Seller Pro .15a to start with.
I will post back later

9
Support / Re: Invalid value inserted or no type specified.
« on: May 27, 2014, 04:47:44 pm »
Don't know why but the above image banner is now showing.
The adsense one below is still not    

(still shows the "rn" )

10
Support / Re: Invalid value inserted or no type specified.
« on: May 27, 2014, 03:37:26 am »
installed the beta.
Nothing shows in forum now (tried curve theme as well)

In gallery above image is attach1 (the code I posted in#1), below image is attach2 (adsense code that did work before update).

http://uklows.com/forum/index.php?action=gallery;sa=view;id=1203

The code that should show Ad below the image is also set to show after the last post in all boards

There is nothing in the error logs

11
Support / Re: Invalid value inserted or no type specified.
« on: May 26, 2014, 12:43:23 pm »
thanks.  :)

12
Support / Re: Invalid value inserted or no type specified.
« on: May 26, 2014, 12:08:21 pm »
attach1 = settings as I enterthe code
attach2 = message when I click "edit ad"
attach3 = error log

13
Support / Re: Invalid value inserted or no type specified.
« on: May 26, 2014, 10:19:42 am »
I can display the banner using the code on a simple html page.
I can not add the code to Ad Seller Pro, so I can not see it on a page inside the forum.
When I click to "edit" I get the invalid message so the code is not accepted for the Ad.


It doesn't show using the free Ad Seller either.

14
Support / Re: Invalid value inserted or no type specified.
« on: May 26, 2014, 04:47:50 am »
Thanks.
I can't show it on the page because the invalid message stops me saving the code.
Adsense Ads run no problem in the same locations.

15
Support / Invalid value inserted or no type specified.
« on: May 22, 2014, 03:52:27 am »
can you see from looking wh I get the invalid message from this code ?

Code: [Select]
<div id="bb-space"><script type="text/javascript">function load(e,t){function u(){if(n.readyState<4){return}if(n.status!==200){return}if(n.readyState===4){t(n)}}var n;if(typeof XMLHttpRequest!=="undefined")n=new XMLHttpRequest;else{var r=["MSXML2.XmlHttp.5.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.2.0","Microsoft.XmlHttp"];for(var i=0,s=r.length;i<s;i++){try{n=new ActiveXObject(r[i]);break}catch(o){}}}n.onreadystatechange=u;n.open("GET",e,true);n.send("")}load("https://bannersbroker.com/viewit?w=160&h=600&sh=454026",function(e){document.getElementById("bb-space").innerHTML=e.responseText})</script></div>
 

set as Custom Code.

If I place the code on a simple html page I see the banner


Thanks.

Pages: [1] 2 3

+- Recent Topics

Please Help! by SMFHacks
Today at 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal