« first day (747 days earlier)      last day (4192 days later) » 

Kev
@tereško you should flag that answer with 14 rep NAA, because it is truly not an answer. The other answer, at least that user attempted to glean something from Joomla's requirements.
 
.. ehh .. users like this one and michael are like walking-talking repositories of bad/duplicate questions
 
@Kev What would be the appropriate action? Deletion? If so, can't you just do it with your all-powerful mod tools [insert evil laugh here]?
 
you cannot get 20k without providing some good answers
 
Kev
@DaveRandom well...mods can't arbitrarily delete answers on a whim
well we can if they're obvious junk, but would need to see a flag on a highly upvoted answer
 
12:29 AM
here would be a nice mechanic : if you provide an answer in a duplicate : no rep .. or maybe 1/5 rep (new users HAVE TO repwhore a bit)
 
@Kev Where's the fun in that? I mean really what is the point in being a mod if you can't burninate at will? :-P
Heh, Chrome spell checker doesn't complain about "burninate"
 
@tereško "here would be a nice mechanic" should be "This would be a nice mechanism"
 
SO moderators are moderators in the classical sense of the word
@Paul , it's 2AM , at this point i think i have a duty to use bad english
 
ok, no problems
 
 
2 hours later…
2:44 AM
word that describes: end of movement where each step incurred a price
would "yield" fit ?
@rdlowrey , @DaveRandom , @Paul , @SomeKittens .. you guys count as native-speakers .. any suggestions ?
usage would be : list( $segments, $currentNodeId ) = $this->yieldNode( $segments ); where $segments is an array which gets smaller
.. refactoring tree interactions sucks
 
Hmm. Lemme double check
 
anyway , i some has a good idea , lease highlight ... it's 5am and a need to take a nap
 
2:59 AM
@tereško I was wondering about stripNode.
I'm still confused on it though.
I guess wtih each step incurring a price yield could make sense. It is hard to understand such a complex function though.
(Not pinging because at 5am you should be asleep).
 
3:16 AM
also , before i go to sleep: how comes array() does not implement ArrayAccess interface ?
 
3:44 AM
@tereško because it is not an object
How could it implement an interface?
@tereško Possibly exact?
I'm not sure I understand what your method is doing, but as a verb, exact means:
> to force or compel the payment, yielding, or performance
 
4:18 AM
I've wasted the last 6 days trawling through php.net to create a basic many-to-many insert query with mysqli. Has it damaged my brain or do they have the worst documentation since The Dark Ages?
 
. . . many-to-many insert query?
 
user895378
4:32 AM
@Mr.Oz It sounds like you've been looking at the wrong docs ... shouldn't you be looking at the MySQL manual for that?
 
user895378
@tereško Nothing worthwhile is coming to mind at the moment. Nothing any better than yield anyway.
 
6:23 AM
The last message was posted 2 hours ago.
2 hours later…
 
0
Q: Unable to install com_eventlist_v1.0.2 component in joomla 1.7.3

KannanWhen I'm trying to install event list component (com_eventlist_v1.0.2) the backed gives the following error(screen shot included), Error building Admin Menus Component Install: DB function reports no errors Error installing component the installation makes an entry to #___extensions table, bu...

 
user1125394
7:08 AM
@DaveRandom fails at this line on IE7 var classNames = domElement.getAttribute('class').split(/\s+/); (object has no getAttribute )
 
7:18 AM
@cyril why don't you try element.className?
@cyril that is a bug in IE7 and wasn't fixed until IE8
var classes = domElement.className.split(' ');
(or use your regex if you want)
 
user1125394
7:37 AM
@mmmshuddup thx
 
hey guys im trying to find a solution for a small project of mine, i want to send out email/s with custom fonts, with either a mix of images and text or if theres a way to insert the text onto an image and just send an image, any tips?
 
user1125394
chrome's js console auto-completion is so great
 
7:59 AM
Guys, if any moderator there, please help me. stackoverflow.com/questions/8203018/…
I asked this question when I was new to SO
Now I'm getting downvotes nearly every day
Can't do anything. Question closed but I'm getting downvotes
Please delete this question
I don't want to get downvotes anymore
 
morning
anyone have experience with imagemagick?
 
@TuralTeyyuboglu you should vote to delete the post,
 
user1125394
@TuralTeyyuboglu a random salt?
 
8:14 AM
@Tural flagged the post for moderator attention,wish you will get redemption from down votes soon :)
 
Greeting everyone :)
What are cons of Yii framework? And which framework do You suggest?
 
@Tarun thx friend. some of downvoter trolls downvoted it again :(
Anyone please vote to close this question stackoverflow.com/q/8203018/800639 I need 3 more votes
 
@TuralTeyyuboglu Why You need to be downvoted? You know that You can get banned from asking questions?
 
@DanielsPitkevičs Look at my reputation. I'm trying to help people here. Why I need to be banned?
 
0
Q: Custom fonts with imagemagick

grasshopperI'm trying to find out the capabilities and limitations of what i can actually do with imagemagick and would like to get some feedback on this. What I ultimately want to do is use imagemagick to output images to the browser with custom ttf fonts in it, so that the user enters some text and it di...

anyone that can help with imagemagick?
 
8:22 AM
@TuralTeyyuboglu These downvotes can result You in a ban.
 
please and thank you
 
And still thinking about the bad sides of Yii.
 
user1125394
@TuralTeyyuboglu there are better answers on google blog.ircmaxell.com/2012/04/… barkingiguana.com/2009/08/03/…
 
user1125394
@TuralTeyyuboglu btw, what is your totally random salt for?
 
user1125394
During signup, my script creates salt and hash of password and stores it. The problem is, after signup I need to send password by email, to some special group of user. I have no other idea.. Store real pass and delete it form db after mail send or what can I do in my case? — Tural Teyyuboglu Nov 20 '11 at 17:00
 
user1125394
8:34 AM
you're sending clear passwords?
 
hey @PeeHaa
@cyril You're welcome
 
8:59 AM
@cyril That sucks balls, but I see @mmmshuddup has given you the solution. I don't like to use those named properties (like className, id) if I can avoid it because I don't regard it as using DOM properly, but if it's necessary then el.className should work everywhere.
 
@DaveRandom I use those named properties all the time lol :O
I blame javascript for making them available in the first place..
 
@mmmshuddup className is actually a very good example of why I don't like it. For ex. you have .id which corresponds to the id attribute, and you have .href which corresponds to the href attribute, and then you have .className which corresponds to the... err... class attribute. getAttribute()/setAttribute allow you to maintain a consistent naming convention. They are w3c standard DOM methods, and I do like a standard. They are much more delicious than making it up as you go along.
 
@DaveRandom lol that's true it is pretty erroneous. and I too totally welcome standards as much possible. I just admittedly abandon some "best practices" when super convenient
 
Hmm, not much good if it doesn't work everywhere though :-(
 
it's a bad habit
ha yeah that's pretty stupid
 
user1125394
9:16 AM
@DaveRandom or elem.classList[0] elem.classList[1] ...
 
@cyril Would be nice, but if what you want is backwards compat with older browsers that's no good.
That actually does warrant a property of its own, because the class attribute is a string that represents an array.
 
@DaveRandom exactly.. you either have to abandon <= IE7 completely, or continue using bad practices
I was lucky and able to convince my boss to stop supporting IE6 and 7 like two years ago lol
 
I know, @cyril I don't know if you've examined the CSS in my example yet, but that has a properly nasty hack in it to get IE to behave with respect to display: inline-block
 
now we do this thing where if a client makes a special request I'll throw in an ie7.css file and if that's too much work then I just display a message telling the user to get a new browser (in nice words) haha
 
Specifically this hack
 
user1125394
9:21 AM
@DaveRandom ok it's great, I'll check later with .className because I've booted back on lubuntu now ;)
 
@DaveRandom Does that really work? :O I saw that exact hack a long time ago and I was just like screw it and went back to using float haha
 
user1125394
yes that's what he put on the fiddle 's css
 
@mmmshuddup It does indeed. I freely admit that I suck at css, and teresko (not incorrectly) yesterday stated that I suck at semantic HTML as well - but frankly:
^^ that's me, not caring
 
user1125394
10:15 AM
SelectionTagCollection, SelectionTag, SelectionTagInput could also be rewritten with some object prototype maybe
 
@PeeHaa Now accepting delvs
@cyril Yes indeed they could. I like private members, which you lose when writing as prototype members. YMMV.
 
user1125394
it's a small script, but these funtions inside function, it's hard for me.. :p
 
mornings
 
Morning. I'm just propagating some bad practice in JS :-D
 
mornings ;)
 
user1125394
strange to use new for a function member
 
10:37 AM
> This indirection was intended to make the language seem more familiar to classically trained programmers, but failed to do that...
 
user1125394
yes, object functions
 
If I could upvote this a million times I would. Can you build an entire web application copy/pasting code and debugging via StackOverflow? I think it's been done. — Tim Lytle 5 hours ago
 
> copy pasting the code is fyn
fyn?
 
fine :D - I deal with idiots quite often, I can translate..
 
That doesn't even look like English
 
10:45 AM
Also it's known that copy and pasting is preventing to understand something.
 
... damn .. pasting *-pls links at night here is a bit pointless
 
11:04 AM
Hi all! i am implementing a remote notification client and server.I want to use an online resource to set a parameter's values using server and read them using client. Any idea that how should I get this resource?
 
@tereško was this answer in response to my query?
 
yes
 
K! thanks
but actually I meant by "getting this resource" that I wanted to declare some online resource like a variable or so.I was thinking of writing to a google doc or something like that
 
time to eat some breakfast I'm getting realy hungry
 
11:10 AM
and give its url to the client
so that he may keep on polling it for its value
 
user1125394
@rahulserver not clear to me what you are trying to do
 
@cyril We have our website for online streaming. We want to provide a client to our viewers which will run on their desktop as a service
the service would keep on checking the beginning of live streaming
So to notify all our viewers of the same, we are writing a server side code
which writes to an online resource like a file or so that indicates the status of the live streaming.The client side desktop service polls the resource to determine the beginning of live telecast
 
Hello everyone!
 
user1125394
@rahulserver why this online resource can't be on your server-side too?
 
@cyril this online resource can be on our server side as well. But initially we would prefer some solution like a google doc or so where we can write the value of the variable
this is because using that resource need administrator permission which is a lengthy process
 
11:22 AM
@tereško Looks kinda like a linked list. I'd probably have just used nextNode ;D
 
but it isn't
 
I'm looking for alternative of Zend_Form+Zend_Filter+Zend_Validator. I'm not using this libs for generating form's HTML. Only wrapping, validation and filtering. Any ideas? What Form/Validator/Filter are you using in your projects?
 
@Kirzilla XForms Pro
 
none
 
11:28 AM
@Leigh please can you gimme link to this lib?
 
@Kirzilla www.google.co.uk - It's not a lib, and it's not free
 
@Kirzilla you can use zend_form to render only input elements,this way you can utilize error/validation and filtering mechanism with your custom html
 
@tereško I didn't understand exactly what you were asking before. Are you calculating the cost to the node and then popping the node from the tree? (Which seems like too much for a single function). getCostToPrunedNode - looks nasty though.
 
No, the method walks the tree , each time it finds a node, it shift's the array ($segments).
The method runs until there is either no more elements in the array , or it cannot find the next node , which matches $segments[0]
it needs to return both the ID of last found node and the modified array
 protected function yieldNode( $segments )
 {
        $current = 0;
        $total = count( $segments );

        while( !empty( $segments ) && array_key_exists( $segments[0],  $this->tree[ $current ][ 'nodes' ] ) )
        {
            $name = array_shift($segments);
            $current = $this->tree[ $current ][ 'nodes' ][ $name ];
        }

        return [ $segments, $current ];
 }
i have failed to refactor it any further
$this->tree contains and array-based representation of tree
 
@tereško $total is unused
 
11:41 AM
Hi guys
I have a question, hope anyone can help me...
 
What do you need to refactor it for teresko? Speed?
 
ops, sorry to interrupt
 
@AngeloMoreira Just ask
 
@tereško I would call it `getMissingPath`. Looking at the extremes you have:
- no segment matches: segments has the entire path (which was missing from the tree), current = 0.
- all match: segments is empty array, current = final node.
So it seems to me like it is finding the path or segments that do not match or are missing.
The extra thing it does between those extremes is show you what it matched to, so it needs a tweak.
 
can anyone please let me know what this regex does please : "^[0-9][X0-9][0-9]{5}X$"
 
11:44 AM
Little help with regexp... what rule should I put in @document regexp() to exclude certain sites from applying my rules to?
 
ok, thanks Leigh, I have this custom built CMS software (in PHP), I absolutely hate the way it handles plugins (series of if's that include different classes), does anyone know a good strategy to handle plugins?
 
@Aditya matches patterns that start with a number, followed by either an X or another number, followed by 5 numbers, terminated by an X
 
@Aditya String must be: 1 numeric, 1 numeric or letter X, 5 numerics, letter X
 
oh ok...thanks...
may i know what $ is for??
at the end
 
@Aditya It asserts the end of the string
Just like ^ asserts the beginning of the string
 
11:47 AM
@AngeloMoreira If it is OOP. Using an autoloader rather than include / require.
 
@Aditya Example: .*X$ means the string must end with an X
 
@paul thanks...
 
@Leigh oh ... yeah .. artifact found
 
thanks Paul
 
11:49 AM
@tereško You could, instead of !empty($segments) use $total--, since every iteration will shift
Micro-optimisation really though
 
no sure if it actually would optimize anything
and current version seems easier to understand
 
@AngeloMoreira No problems, it might not be a real solution to your problem. If you are stuck with a CMS with procedural code in it then it won't be easy.
 
no Paul, the CMS is all in OOP and with Smarty templates
but I am basically trying to speed up development of plugins and handle "posts" better
 
lol
 
I quite like the way joomla does their plugins, I think it rly works well
so I was thinking about creating some rules for ppl to create plugins easily that are easily recognise by the system
hard to explain sry, I mean I'm rly crap at explaining :D
because there are so many patterns I thought I would have one to handle those kind of things
 
vsk
11:57 AM
hi i am new to php and zend framework. now i have zend studio 9 and mysql query browser. is it possible to use mysql query browser as database using zend studio 9.
 
 
@vsk you mean you have this software running to manage your DB? dev.mysql.com/downloads/workbench
 
mini-avatar time :D
 
vsk
@angelo yes i have that software
 
@AngeloMoreira Perhaps an Observer pattern.
 
12:00 PM
@Paul thank, ill have a read on that
 
@AngeloMoreira Or better still, read this: blog.ircmaxell.com/2012/03/handling-plugins-in-php.html
 
@vsk I am not fluent on the zend framework, but as far as I understand it is just a framework to help you code in PHP (read nice functionality tested and ready to use) you should use different software to manage your DB MySQL Workbrench would work perfectly
@Paul Oh Paul, that is gold, tyvm
 
@vsk no , it is not possible to "use mysql query browser as database"
you seem to lack even basic understanding of language
 
vsk
@teresko thanks, yes i am very new to this..
 
please, do not use frameworks before you have learned the language for which sad framework has been made
"mysql query builder" is just a tool
 
12:06 PM
@vsk woud prob help if you tell us what you are actually trying to achieve, (build a blog, news website)
 
the database is mysql (and it is one of multiple different DBs), to which you can connect with php
PHP is not Java ... you have to learn language before you use any framework
 
is there any way to test website using php user agent change in php.ini or other method
css problem in iphone
 
@karan u using chrome?
 
@AngeloMoreira yeah
 
if you are you can emulate the user agent on the developer tools (press F12)
 
12:13 PM
pfuu ... this will end soon. It's almost 6 PM in India
and then they will all go away
 
bottom right there is a button, click on that and you get loads of settings one of them it is to change the user agent
 
got a question : is this alright . i passed a json object to controller via ajax like this . .

data : $("#form").serializeArray();

then the controller will pass this array to model, then update the table?
like this $this->Student_Model->updateStudentProfile($updateData, $this->user);
 
what is your question ?
 
Hmm, alright in which sense? ;)
 
@AngeloMoreira what is screen resolution of iphone and how to fit it show i can debug
 
12:17 PM
my question is if what i did is okay?
 
@AngeloMoreira so*
 
@JoeySalacHipolito Okay. I'd say in the sense of syntax errors, I can't spot any. So then it's okay?
 
@Karan do u have an iphone with you?
 
anyways, thanks, i think i just need to finish this things up and do the asking after it has been done.. :D
 
@AngeloMoreira no
 
12:19 PM
@karan read this if you do have an iphone with u: webmonkey.com/2012/03/…
 
@JoeySalacHipolito If it works for you, then there is not much not okay with it. But if you smell something, ask about that.
 
@AngeloMoreira my client have
 
okies.. thanks @hakre
 
@karan you could use an object to identity whats the user agent and then load a separate stylesheet
works pretty well for me, I have been using it with no issue
 
12:39 PM
@AngeloMoreira okay testing
 
Tek
Morning
 
@Tek morning
 
Hey guys does anyone here have experience with generating colors in php? I need to generate brighter tone of every chosen color. For example if you have a 21 color gradient scale going from chosen color to white i need that color which is next to white.
 
Tek
Anyone here use netbeans?
 
12:56 PM
@JamaicaBob you could use opacity maybe to generate lighter colours
 
damn ... sometimes i cannot remember the simplest things
 
anyone of you guys really good at refactoring ?
 
@tereško with PHP code I have some experience. Why do you ask?
 
1:12 PM
@hakre I want to know if there can anything be done to improve pastie.org/5166541
... previous iteration looked like this : pastie.org/5166547
 
morning
 
and yes , i have been poking at that old scab again ..
 
what do you aim for with the refactoring if I may ask?
If you have a tree, why isn't it an object of it's own?
 
nope , it s an array
and for me the main goal in refactoring is improvements of readability
 
You can improve readability by reducing vertical highlighting by removing whitespaces around each anything.
Use vertical whitespace around parts you want to highlight, for example specific operators.
Example: $locations[ $id ] = $path . '/' . $filepath; => $locations[$id] = $path . '/' . $filepath;
if ( empty( $locations ) )
if ( empty ($locations) )
(here: highlight that both if and empty are language constructs)
this also depends on taste, but vertical whitespace is known to distract if you use it too much.
 
1:26 PM
i guess i misspoke
when i said "readability" , what i actually means was "understandability"
 
@tereško That often goes together. Anyway, I know that this is based on taste and you obviously have your style here. So just noting.
Which methods has Searchable?
 
@LeviMorrison I mean a query that will insert something into a table if it does not exist and insert the new/already existing id into a junction table. Sounded simple until I tried it!
 
If $fallbackPath = '/'; defaults, why doesn't it for the constructor?
Why does addNamespacePath() has two parameters?
Also you should point out a use-case I don't know your library.
I have not much of a clue what it is for ;)
 
@rdlowrey Just discovered those and they look more readable. All tutorials, etc, that I've seen refer to the php.net docs for some reason. Thanks for the suggestion.
 
1:35 PM
@hakre only one : getLocations( $className )
 
And you have some kind of what that map does? I mean it's somewhat clear that you have a namespace :: filesystem-path co-relation here, but what is it for?
 
it is a "resource" class , which is used by autoloader
it maps multiple namespaces to multiple locations and vice-versa
 
So if I have a classname to be loaded, I can locate the path on the file-system where to look in for that class filename because of the namespace the class is in?
Like in: One file per class?
 
... now that i think about it , this fills the same problem-space (is that a thing) as collapsing filesystem concept in kohona
it lets you find all the possible locations where a class with specific namespace can be
 
1:45 PM
@hakre how fast that was ..... -10 with closed in just <1 a minute ...)
 
stackoverflow.com/a/13177785/367456 <- these filthy downvoters only because they can't accept to get a regex served on a silver platter.
and the question is even a dupe. shrug!
@NullPointer Yeah, now accepting del-votes. I'd say the record so far for today.
 
Test\Space\Klass => /lib/test/src/space/klass.php
Test\SomThing    => /lib/test/src/core/something.php
App\FooFactory   => /application/foofactory.php
App\Factory      => /lib/some_built-ins/factory.php
Nobody\Knows     => /nobody/knows.php (fallback, if not mapped)
@hakre , this is what sort of structure it permits
 
@tereško so actual class mappings already? Not namespace (sub)paths?
 
you do not define where each class is
only where some of namespaces are
Test\Deeper\SomThing => /lib/test/src/core/deeper/something.php (where Deeper is not mapped)
 
1:53 PM
bottom line : i think PSR-0 is extremely limited
it makes your project directory structure to conform to the needs of the loader, while ir should be other way around
 
rad
hi guys
 
cat is a bad hunter .. need to buy some food
 
@tereško well, I think that is a self-fullfilling prophecy. As it's just a kind of pattern you could apply to the code-base file-layout, it then would work with PSR-0. However one must not need to follow that. A good autoloader can create a class-map and then for the live-version of the code there is no autoloading any longer.
hi @igorw!
@tereško if you have such an 1:1 mapping, why is that tree that complex?
 
Hi, any Vtiger CRM expert here?
 
@TahirYasin You probably should improve your accept rate. See the green checkmark on all the answers to your questions? Find the best one and click that.
 
user50049
@TahirYasin Oh my. I don't quite see how that is a programming question?
 
@SomeKittens please tell me how can I improve my accept rate?
 
@TahirYasin I just did.
 
user50049
@TahirYasin Basically, that question says "I want TigerCRM to have this functionality. Please provide code that does it" .. have you tried anything?
 
rad
hi guys
 
@someKittens
@SomeKittens I can't find the green checkmark
 
402
Q: How does accepting an answer work?

jjnguy How does accepting an answer work? When should I do it? Why can't I accept my own answers right away? Which answer should I accept? Return to FAQ index

 
user50049
@SomeKittens He's accepted answers on all questions that he can, the accept rate is cached.
 
2:19 PM
Sounds good.
 
thanks to you both @SomeKittens & @Karan :)
@TimPost I want to add 1 extra field to products page
@TimPost can you please guide me how to add some custom fields for a Vtiger product?
 
@TahirYasin Ok. We've read the question. What have you done to achieve that?
 
user50049
@TahirYasin Yes. What have you tried? Where is the code? Where are you stuck? What isn't working?
 
user50049
What you posted is a screen shot .. and your desired outcome.
 
user50049
Stack Overflow doesn't work like that :)
 
2:22 PM
@Tim, go and learn vtiger now, so you can help this guy!
 
@TimPost If it did, I'd just post a screenshot of this guy saying "thanks, I fixed it myself through learning" and myself with 20k rep.
 
@TimPost want to alter the product add/edit form as I shown in screenshot
 
user50049
@TahirYasin I'm not closing the question, but if you don't show the community what you tried and give us an actual specific programming problem to solve, the question will likely be closed in a few minutes.
 
user50049
@TahirYasin A screen shot is not sufficient as a basis for a question. Where is the code you're having problems with?
 
I bet I can get it closed in the next 3 minutes, if I add to it ;D
 
2:24 PM
@TimPost I am new to Vtiger CRM and I don't know how to add an extra field to some form
 
user50049
@TahirYasin Did you look at the code and try anything? Until you have, and have a specific problem you can show with code, it's not a good fit for Stack Overflow.
 
@TahirYasin What makes you think we know how to use RandomCRM?
 
user50049
@TahirYasin I could post a screen shot of Windows 8 and say I want to modify the desktop to look a certain way. That's just .. way too broad for a Q&A site.
 
After everyone lolled at your choice of wallpaper
Han Solo in a gold bikini :x
 
better than Jabba
 
user50049
2:28 PM
@SomeKittens LIES. It's Chewbacca in a bikini
 
You think? Now visualise...
 
user50049
Strip 3P0 Would have made an awesome costume. Oh well, there's always next year
 
2:45 PM
Anyone played Dishonored?
 
@hakre it is n:n mapping
 
And you want to resolve that map left side or left and right side?
Eg. only looking up classnames or also lookup filenames?
 
it take a full class name and create from that a list of locations, where this class can be
many directories can be used by one namespace , many namespace can be located in same directory
 
but a more distinct classname will override a namespace path? (if it is set)
 
yes
 
2:53 PM
@TimPost just earned peer pressure badge
 
also , sub-namespace does not need to be part of same directory tree as parent namespace
 
user50049
@TahirYasin :) That's why it exists.
 
user50049
@TahirYasin Do some research, look at the code, give it your best try. If you get stuck and have actual code to show in the question, Stack Overflow can help. Note, I don't think we have a lot of vtiger experts, but you're welcome to ask once you have a much more narrow question.
 
Morning. Need help about embeding videos from different sites. User will paste video url(youtube,vimeo etc) and then embed code will be generated, here is my code and my question is: Am i doing it right? Any other simple way to do this?
public function GetEmbedCode($url) {
    if (strstr($url, 'vimeo')) {
        //vimeo codes will come here
    } else if (strstr($url, 'youtube') || strstr($url,'youtu.be')) {
        preg_match('#([\\?\\&]v=([^\\?\\&]+))|(\/embed\/([^\\?\\&\\"]+))|(youtu.be\/([^\\?\\&]+))#',$url,$matches);
        rsort($matches);
        if(strlen($matches[1] == 11))
        $embedCode = $this->PrepareEmbedCode($matches[0],'youtube'); //method for preparing embed code for current url
    }
    else if (strstr($url, 'dailymotion'))
 
hello
 
2:58 PM
@TimPost I feel that I should not come to this chat, people don't help but just vote-down
 
user50049
@TahirYasin I'm sorry that you feel that way, but your question was simply far too broad for Stack Overflow.
 

« first day (747 days earlier)      last day (4192 days later) »