Drupal 4.7.x

dynamic text replacement-text images not appearing properly

spankydog - November 3, 2009 - 00:17

Hello,

This is my first post on Drupal so forgive me if I'm in the wrong place.

I maintain a site that uses dynamic text replacement for titles. The problem I am having is that the text images for all new titles are suddenly not appearing the way they should- as if the bottom 2 0r 3 pixels have been "chopped off". They are also not aligning properly. Here's an example:

http://longevity.stanford.edu/node/695

I say "suddenly" because it worked (almost) perfectly until recently. In fact, all of the existing titles look fine. It's only when I try to edit them or create new pages that this problem occurs. The only "event" that may have caused this- that I can think of is a recent upgrade to PHP 5.2.10.

I've done some inspection with Firebug and it seems like the problem is with the vertical alignment of the text within the image created.

I've spent hours trying everything I can think of to no avail, so I'm hoping someone out there can help me. I can't post any new content until I get this straightened out.

Thank you!

BrinkGamers.com

U.K.Visuals - November 1, 2009 - 06:19

Hello Guys.

I just want to show you our new Community Site for the Game Brink which will come at Spring 2010.
Its built with Drupal 4.7 and is bridged with DrupalVB to our VBulletin Board.

http://www.brinkgamers.com/

Any and all comments would be very welcome and appreciated.

Thank You!

Marketing co-op services (donated)

Hello,

I had been speaking with Kieran in the past few months about helping people with their case studies or press releases for projects they've completed. I'm not sure how many inquiries I'll get, but I'm willing to try to donate some time to help people get their news out.

Also, another thing to consider is tagging each other's news on social media platforms (Stumble Upon, Technorati, Digg, etc). Kind of like a 'tag circle' of people helping each other out.

One more thing that will help the community -- since the whitehouse.gov the chatter on the Internet is ranging from kudos to serious 'hating'. Some of you may have caught Chris Wilson's article on slate.com. My thoughts are that we as a community can act in a concerted and potent manner to these kinds of attacks much more rapidly if we start to coordinate from a marketing standpoint.

Anyway, if this is already happening, I'll be glad to be contacted by whomever is handling the initiative. Otherwise, I'm happy to be joined by a couple of people to make this happen.

Apologies if this is misclassified in forums -- was looking for a marketing category but could not find one.

Code Filter

Last modified: October 23, 2009 - 20:47

This is a simple filter module to handle <code></code> and <?php ?> tags so that users can post code without having to worry about escaping with < and >.

Urgent!!! how to calculate time spent by a user to fill a comment form...

idrupalion - October 22, 2009 - 06:38

Hello everybody,

I need help to sort out the following issue:

I want to calculate the time between a comment form is loaded (displayed to a user) and when values are being inserted in database. I've used following code in my module.

<?php
function mymodule_comment($a1, $op) {
   static
$comment_stamp=0;
   if(
$comment_stamp == 0) $comment_stamp = time();
   switch(
$op) {
      case
"form":
          
$a1['comment_stamp'] = array(
                      
'#type' => 'hidden',
                   
'#value' =>  $comment_stamp,
                       );
                  return
$a1;
                  break;
     case
"insert":
          
$comment_stamp = $a1['comment_stamp'];
          
          
$time_now = time();
          
                  print(
"Time now = ".$time_now." difference = ".($time_now-$comment_stamp));
           break;
   }
}
?>

But surprisingly drupal is resetting the value of static variable. For "insert" case the values of variables $comment_stamp and $time_now are same..

As far as i know static variables retain their values even when the function exits. i dont know what is happening here, may be some internal drupal processing is resetting the value for variable $comment_stamp.

Please help. All help will be greatly appreciated.

Many thanks in advance.

Seeking a savvy mid-level drupal developer

Seeking a savvy mid-level drupal developer. The position is on the East coast (Washington DC area)

We are looking for a solid contract/freelance developer with the following qualifications:
- 3-4 yrs of solid experience
- Themer and developer using Drupal 6.0
- Working knowledge of Views, Panels, Taxonomy, Workflow, Nodequeue, and other essential and auxiliary modules
- Fully conversant with the LAMP environment, using the CPanel interface, with emphasis on MySQL and special expertise in best practices for website security in this environment
- Comfortable working in a WISA environment
- Skilled PHP programmer, with specific experience in troubleshooting, modifying and/or authoring Drupal modules
- Experience with current user-experience and "back-end" web technologies such as jQuery, secure XML web methods, AJAX, etc.
- ActionScript a plus

Please contact me if you are interested

My contact is info @ itmoz.com

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.